mirror of
https://github.com/anyproto/anytype-ts.git
synced 2025-06-08 05:57:02 +09:00
electron updater: set app.isQuiting=true before quitAndInstall
This commit is contained in:
parent
a6422d9a8c
commit
4db35e6935
1 changed files with 2 additions and 1 deletions
|
@ -443,7 +443,8 @@ function autoUpdaterInit () {
|
|||
autoUpdater.on('update-downloaded', (info) => {
|
||||
Util.log('info', 'Update downloaded: ' + JSON.stringify(info, null, 3));
|
||||
send('updateReady');
|
||||
autoUpdater.quitAndInstall()
|
||||
app.isQuiting = true;
|
||||
autoUpdater.quitAndInstall();
|
||||
});
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue