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