diff --git a/electron.js b/electron.js index 546ca87..e0716cf 100644 --- a/electron.js +++ b/electron.js @@ -175,19 +175,7 @@ if (!instanceLock) { app.on('ready', createWindow); app.on('window-all-closed', () => { - // On OS X it is common for applications and their menu bar - // to stay active until the user quits explicitly with Cmd + Q - if (process.platform !== 'darwin') { - closeApplication(); - } - }); - - app.on('activate', () => { - // On OS X it's common to re-create a window in the app when the - // dock icon is clicked and there are no other windows open. - if (mainWindow === null) { - createWindow() - } + closeApplication(); }); }