diff --git a/app/main.js b/app/main.js index b5cf867a..1a3a6ee1 100644 --- a/app/main.js +++ b/app/main.js @@ -43,6 +43,7 @@ if (process.platform === 'win32') { win.webContents.send('update', { event: 'updateInstalling' }); + app.quit(); }); }, 5000); } @@ -267,9 +268,3 @@ ipcMain.on('restart', (event, newRepoDir) => { app.on('ready', () => { startup(createWindow); }); - -app.on('window-all-closed', function() { - if (process.platform != 'darwin') { - app.quit(); - } -});