update main

This commit is contained in:
an-lee
2024-11-19 10:34:29 +08:00
parent 59bcb437f8
commit 96ab044ae9

View File

@@ -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", () => {