From 41f783d504662b0dca3c184d63358d5b0455ebe5 Mon Sep 17 00:00:00 2001 From: Arjun <6592213+arkml@users.noreply.github.com> Date: Thu, 14 May 2026 22:06:19 +0530 Subject: [PATCH] dev instance skips lock --- apps/x/apps/main/src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/x/apps/main/src/main.ts b/apps/x/apps/main/src/main.ts index 8bb93db5..ab026fff 100644 --- a/apps/x/apps/main/src/main.ts +++ b/apps/x/apps/main/src/main.ts @@ -62,7 +62,7 @@ if (started) app.quit(); // Single-instance lock: route a second launch (e.g. clicking a rowboat:// link) // back into the existing process via the 'second-instance' event. -if (!app.requestSingleInstanceLock()) { +if (app.isPackaged && !app.requestSingleInstanceLock()) { console.error('[Main] Another Rowboat instance is already running; exiting this process.'); app.quit(); process.exit(0);