Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

desktop: quit the application when all windows are closed

Abdullah Atta38fed25e30a9
diff --git a/apps/web/desktop/electron.js b/apps/web/desktop/electron.js
index e2afbbe11..020b04e9b 100644
--- a/apps/web/desktop/electron.js
+++ b/apps/web/desktop/electron.js
@@ -118,7 +118,7 @@ app.on("ready", async () => {
});
app.on("window-all-closed", () => {
- if (process.platform !== "darwin") {
+ if (process.platform !== "darwin" || MAC_APP_STORE) {
app.quit();
}
});