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

fix auto-update

This commit is contained in:
Andrew Simachev 2022-01-29 12:28:21 +03:00
parent bec4537373
commit b91ea24e91
3 changed files with 37 additions and 13 deletions

View file

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