1
0
Fork 0
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:
Andrew Simachev 2022-03-16 12:20:59 +03:00
parent bec41f74e6
commit 751b35f542
3 changed files with 7 additions and 7 deletions

View file

@ -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);