feat: not allow run multiple Agent (#604)
This commit is contained in:
committed by
László Monda
parent
e152a36ad7
commit
cd299c06d6
@@ -133,13 +133,13 @@ app.on('ready', createWindow);
|
|||||||
|
|
||||||
// Quit when all windows are closed.
|
// Quit when all windows are closed.
|
||||||
app.on('window-all-closed', () => {
|
app.on('window-all-closed', () => {
|
||||||
app.quit();
|
|
||||||
});
|
|
||||||
|
|
||||||
app.on('will-quit', () => {
|
|
||||||
if (appUpdateService) {
|
if (appUpdateService) {
|
||||||
appUpdateService.saveFirtsRun();
|
appUpdateService.saveFirtsRun();
|
||||||
}
|
}
|
||||||
|
app.exit();
|
||||||
|
});
|
||||||
|
|
||||||
|
app.on('will-quit', () => {
|
||||||
});
|
});
|
||||||
|
|
||||||
app.on('activate', () => {
|
app.on('activate', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user