From 23acf00def77b5662e48b84591a31760737774a7 Mon Sep 17 00:00:00 2001 From: Fabio Di Stasio Date: Tue, 7 Jun 2022 09:33:03 +0200 Subject: [PATCH] fix: main process not closed after window close on some conditions --- src/main/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/main.ts b/src/main/main.ts index 4a7b761e..1cf830ad 100644 --- a/src/main/main.ts +++ b/src/main/main.ts @@ -76,7 +76,7 @@ else { // quit application when all windows are closed app.on('window-all-closed', () => { // on macOS it is common for applications to stay open until the user explicitly quits - if (isMacOS) app.quit(); + if (!isMacOS) app.quit(); }); app.on('activate', async () => {