From 71b19fa9ce3547f83b1d6470b7034f8e5175afd1 Mon Sep 17 00:00:00 2001 From: Percy Lee Date: Fri, 2 Feb 2024 13:57:41 +0800 Subject: [PATCH] Fix bug (#190) (#241) Co-authored-by: lixiancan --- enjoy/src/main.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/enjoy/src/main.ts b/enjoy/src/main.ts index 91117712..ac9d7b0a 100644 --- a/enjoy/src/main.ts +++ b/enjoy/src/main.ts @@ -58,9 +58,7 @@ app.on("ready", async () => { // for applications and their menu bar to stay active until the user quits // explicitly with Cmd + Q. app.on("window-all-closed", () => { - if (process.platform !== "darwin") { app.quit(); - } }); app.on("activate", () => {