From 96ab044ae9fc7ebb53aacdf2d031ae73870e8d5d Mon Sep 17 00:00:00 2001 From: an-lee Date: Tue, 19 Nov 2024 10:34:29 +0800 Subject: [PATCH] update main --- enjoy/src/main.ts | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/enjoy/src/main.ts b/enjoy/src/main.ts index b6bf3dbdc..19aa372e0 100644 --- a/enjoy/src/main.ts +++ b/enjoy/src/main.ts @@ -139,11 +139,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", () => { - // Respect the OSX convention of having the application in memory even - // after all windows have been closed - if (process.platform !== "darwin") { - app.quit(); - } + app.quit(); }); app.on("activate", () => {