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

Commit 237c184

Browse files
committed
Quit when closing window on macOS to prevent edge case
1 parent 8d178ab commit 237c184

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

public/electron.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,7 @@ app.on('ready', () => {
178178
app.on('window-all-closed', () => {
179179
// On macOS it is common for applications and their menu bar
180180
// to stay active until the user quits explicitly with Cmd + Q
181-
if (process.platform !== 'darwin') {
182-
app.quit();
183-
}
181+
app.quit();
184182
});
185183

186184
app.on('activate', () => {

0 commit comments

Comments
 (0)