1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

check single instance only on packaged app

This commit is contained in:
Andrew Simachev 2022-05-25 11:55:25 +03:00
parent 6535201d6c
commit 4ba3e28a9e

View file

@ -80,7 +80,7 @@ if (is.development && !port) {
exit(false);
};
if (!app.requestSingleInstanceLock() && app.isPackaged) {
if (app.isPackaged && !app.requestSingleInstanceLock()) {
exit(false);
};