Skip to content

Commit 77e2b26

Browse files
committed
Linux quit app on main window close
1 parent 2cee9a5 commit 77e2b26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src-electron/main.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,8 @@ function createWindow() {
364364
if (isCloseToTray && !appIsQuitting) {
365365
event.preventDefault();
366366
mainWindow.hide();
367+
} else {
368+
app.quit();
367369
}
368370
});
369371

0 commit comments

Comments
 (0)