|
|
@ -20,7 +20,8 @@ ipcMain.handle('engine:activatePlugin', async (event, arg) => { |
|
|
|
return await appManager.activatePlugin(arg) |
|
|
|
return await appManager.activatePlugin(arg) |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
app.on('window-all-closed', async () => { |
|
|
|
app.on('before-quit', async () => { |
|
|
|
await appManager.call('fs', 'closeWatch') |
|
|
|
await appManager.call('fs', 'closeWatch') |
|
|
|
console.log('quit') |
|
|
|
console.log('quit') |
|
|
|
|
|
|
|
app.quit() |
|
|
|
}) |
|
|
|
}) |