Skip to content
This repository was archived by the owner on Nov 19, 2021. It is now read-only.

Commit 5f0d688

Browse files
author
Benjamin Sova
authored
docs: fix explanation of darwin auto-quit prevention (#394)
1 parent fd6062d commit 5f0d688

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

main.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ app.whenReady().then(() => {
3232
})
3333
})
3434

35-
// Quit when all windows are closed.
35+
// Quit when all windows are closed, except on macOS. There, it's common
36+
// for applications and their menu bar to stay active until the user quits
37+
// explicitly with Cmd + Q.
3638
app.on('window-all-closed', function () {
37-
// On macOS it is common for applications and their menu bar
38-
// to stay active until the user quits explicitly with Cmd + Q
3939
if (process.platform !== 'darwin') app.quit()
4040
})
4141

0 commit comments

Comments
 (0)