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:
parent
2aec085f20
commit
5bf04e4880
1 changed files with 2 additions and 1 deletions
|
@ -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);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue