Co-authored-by: lixiancan <lixc.percy@gmail.com>
This commit is contained in:
Percy Lee
2024-02-02 13:57:41 +08:00
committed by GitHub
parent f6dcf0366f
commit 71b19fa9ce

View File

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