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:
parent
bec4537373
commit
b91ea24e91
3 changed files with 37 additions and 13 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue