Benjamin Sova
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
main.js
|
@ -32,10 +32,10 @@ app.whenReady().then(() => { |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|
// Quit when all windows are closed.
|
|
|
|
|
|
|
|
|
// Quit when all windows are closed, except on macOS. There, it's common
|
|
|
|
|
|
// for applications and their menu bar to stay active until the user quits
|
|
|
|
|
|
// explicitly with Cmd + Q.
|
|
|
app.on('window-all-closed', function () { |
|
|
app.on('window-all-closed', function () { |
|
|
// 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() |
|
|
}) |
|
|
}) |
|
|
|
|
|
|
|
|