mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
fix: single instance detection when not packaged
This commit is contained in:
parent
b461396c18
commit
0622b4b549
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ if (is.development && !port) {
|
|||
return;
|
||||
};
|
||||
|
||||
if (app.isPackaged && !app.requestSingleInstanceLock()) {
|
||||
if (!is.development && !app.requestSingleInstanceLock()) {
|
||||
Api.exit(mainWindow, '' ,false);
|
||||
return;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue