1
0
Fork 0
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:
requilence 2020-08-14 13:22:01 +03:00
parent a6422d9a8c
commit 4db35e6935

View file

@ -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();
});
};