Skip to content

Commit

Permalink
quit app on window close
Browse files Browse the repository at this point in the history
  • Loading branch information
Andy Merskin committed Jul 19, 2017
1 parent 0f22788 commit d681c26
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,9 @@ app.on('ready', createWindow)
app.on('ready', setApplicationMenu)

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

app.on('will-quit', () => {
Expand Down

0 comments on commit d681c26

Please sign in to comment.