Skip to content

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

fix: app not opening due to inverted check

thecodrraf75795d5692
diff --git a/apps/web/desktop/electron.js b/apps/web/desktop/electron.js
index e9bd69772..b86e25b03 100644
--- a/apps/web/desktop/electron.js
+++ b/apps/web/desktop/electron.js
@@ -19,7 +19,7 @@ try {
} catch (_) {}
// only run a single instance
-if (app.requestSingleInstanceLock()) {
+if (!app.requestSingleInstanceLock()) {
app.exit();
}