mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
fix sentry crash
This commit is contained in:
parent
bec41f74e6
commit
751b35f542
3 changed files with 7 additions and 7 deletions
|
@ -72,12 +72,10 @@ let autoUpdate = false;
|
|||
if (is.development && !port) {
|
||||
console.error('ERROR: Please define SERVER_PORT env var');
|
||||
exit(false);
|
||||
return;
|
||||
};
|
||||
|
||||
if (!app.requestSingleInstanceLock() && app.isPackaged) {
|
||||
exit(false);
|
||||
return;
|
||||
};
|
||||
|
||||
storage.setDataPath(userPath);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue