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:
parent
6535201d6c
commit
4ba3e28a9e
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ if (is.development && !port) {
|
|||
exit(false);
|
||||
};
|
||||
|
||||
if (!app.requestSingleInstanceLock() && app.isPackaged) {
|
||||
if (app.isPackaged && !app.requestSingleInstanceLock()) {
|
||||
exit(false);
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue