mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 14:07:01 +09:00
JS-367: fix
This commit is contained in:
parent
77d0bbb69e
commit
670f575d25
2 changed files with 3 additions and 1 deletions
|
@ -50,10 +50,12 @@ let csp = [
|
|||
if (is.development && !port) {
|
||||
console.error('ERROR: Please define SERVER_PORT env var');
|
||||
Api.exit(mainWindow, false);
|
||||
return;
|
||||
};
|
||||
|
||||
if (app.isPackaged && !app.requestSingleInstanceLock()) {
|
||||
Api.exit(mainWindow, false);
|
||||
return;
|
||||
};
|
||||
|
||||
remote.initialize();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue