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

fix electron relaunch

This commit is contained in:
Andrew Simachev 2022-01-28 15:00:47 +03:00
parent 2aec085f20
commit 5bf04e4880

View file

@ -835,7 +835,8 @@ function shutdown (relaunch) {
if (relaunch) {
Util.log('info', 'Relaunch');
app.isQuiting = true;
autoUpdater.quitAndInstall();
app.relaunch();
app.exit(0);
} else {
app.exit(0);
};