A fully open source & end-to-end encrypted note taking alternative to Evernote.
TypeScript asp-net-coredotnet-coreelectronfosshacktoberfestnote-managmentnote-takingnote-taking-appnotebooknotesnotes-appopen-sourceopensourceprivacyproductivityreactreact-nativereactjsself-hosted
desktop: fix close to system tray only works once
Abdullah Atta5b9cb8ca4bae
diff --git a/apps/desktop/src/main.ts b/apps/desktop/src/main.tsindex add7619c2..7d053a651 100644--- a/apps/desktop/src/main.ts+++ b/apps/desktop/src/main.ts@@ -193,7 +193,7 @@ function setupDesktopIntegration() {app.on("before-quit", () => app.exit(0));}- globalThis.window?.once("close", (e) => {+ globalThis.window?.on("close", (e) => {if (config.desktopSettings.closeToSystemTray) {e.preventDefault();if (process.platform == "darwin") {