Skip to content

Commit

Permalink
mac平台所有窗口都关闭之后需要退出程序
Browse files Browse the repository at this point in the history
  • Loading branch information
gaoyoubo committed Jul 19, 2019
1 parent 6845f84 commit f3d96f0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -138,9 +138,9 @@ app.on('window-all-closed', () => {
// On macOS it is common for applications and their menu bar
// to stay active until the user quits explicitly with Cmd + Q

if (process.platform !== 'darwin') {
app.quit()
}
// if (process.platform !== 'darwin') {
app.quit()
// }
})

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

0 comments on commit f3d96f0

Please sign in to comment.