Skip to content

Commit

Permalink
Force quit application when all electron Windows are close - now on a…
Browse files Browse the repository at this point in the history
…ny system
  • Loading branch information
Lionel Laské committed May 31, 2019
1 parent b8bb9d8 commit 4b548c3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -218,10 +218,7 @@ app.on('ready', createWindow);

// Quit when all windows are closed.
app.on('window-all-closed', function () {
// On OS X force quit like on other platforms
if (process.platform == 'darwin') {
app.quit()
}
app.quit()
});

app.on('activate', function () {
Expand Down

0 comments on commit 4b548c3

Please sign in to comment.