1
0
Fork 0
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:
Axel Karjalainen 2025-05-22 22:38:14 +03:00
parent b461396c18
commit 0622b4b549

View file

@ -76,7 +76,7 @@ if (is.development && !port) {
return;
};
if (app.isPackaged && !app.requestSingleInstanceLock()) {
if (!is.development && !app.requestSingleInstanceLock()) {
Api.exit(mainWindow, '' ,false);
return;
};