(command)
| 66 | } |
| 67 | |
| 68 | function sendAppCommand(command) { |
| 69 | if (!mainWindow || mainWindow.isDestroyed()) { |
| 70 | return |
| 71 | } |
| 72 | mainWindow.webContents.send('claw:desktop:command', { |
| 73 | type: 'menu-command', |
| 74 | command, |
| 75 | }) |
| 76 | } |
| 77 | |
| 78 | function buildApplicationMenu() { |
| 79 | const template = [ |
no outgoing calls
no test coverage detected