diff --git a/window.js b/window.js index fe08554..e9d48b2 100644 --- a/window.js +++ b/window.js @@ -18,12 +18,11 @@ function createWindow () { app.whenReady().then(createWindow); -app.on('window-all-closed', () => { - if (process.platform !== 'darwin') - app.quit(); +app.on('window-all-closed', function() { + app.quit(); }); app.on('activate', () => { if (BrowserWindow.getAllWindows().length === 0) createWindow(); -}); \ No newline at end of file +});