feat: not allow run multiple Agent (#604)

This commit is contained in:
Róbert Kiss
2018-04-09 20:48:22 +02:00
committed by László Monda
parent e152a36ad7
commit cd299c06d6

View File

@@ -133,13 +133,13 @@ app.on('ready', createWindow);
// Quit when all windows are closed.
app.on('window-all-closed', () => {
app.quit();
});
app.on('will-quit', () => {
if (appUpdateService) {
appUpdateService.saveFirtsRun();
}
app.exit();
});
app.on('will-quit', () => {
});
app.on('activate', () => {