MCPcopy Create free account
hub / github.com/codeHappyDananx/SpecWave / getRecentProjectsForMenu

Function getRecentProjectsForMenu

electron/main.js:496–502  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

494}
495
496function getRecentProjectsForMenu() {
497 try {
498 return userPreferences.recentProjects.filter(p => fs.existsSync(p)).slice(0, 10)
499 } catch {
500 return []
501 }
502}
503
504function sendMenuEvent(channel, payload) {
505 if (!mainWindow || mainWindow.isDestroyed()) return

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected