Skip to content

Commit

Permalink
close app on quit on darwin platform
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-goodwin committed May 16, 2017
1 parent c862a67 commit 58cfcb4
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ function createMainWindow() {
}

app.on('window-all-closed', () => {
if (process.platform !== 'darwin') {
app.quit();
}
app.quit();
});

app.on('activate', () => {
Expand Down

0 comments on commit 58cfcb4

Please sign in to comment.