mirror of
https://github.com/rowboatlabs/rowboat.git
synced 2026-05-22 18:45:19 +02:00
dev instance skips lock
This commit is contained in:
parent
f371cd4bb1
commit
41f783d504
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue