|
|
@ -12,8 +12,8 @@ engine.register(appManager) |
|
|
|
engine.register(fsPlugin) |
|
|
|
engine.register(fsPlugin) |
|
|
|
engine.register(gitPlugin) |
|
|
|
engine.register(gitPlugin) |
|
|
|
|
|
|
|
|
|
|
|
ipcMain.handle('engine:activatePlugin', async (event, arg) => { |
|
|
|
ipcMain.handle('manager:activatePlugin', async (event, arg) => { |
|
|
|
console.log('engine:activatePlugin', arg) |
|
|
|
console.log('manager:activatePlugin', arg) |
|
|
|
if(await appManager.isActive(arg)){ |
|
|
|
if(await appManager.isActive(arg)){ |
|
|
|
return true |
|
|
|
return true |
|
|
|
} |
|
|
|
} |
|
|
|