1
0
mirror of https://github.com/BoostIo/Boostnote synced 2025-12-15 10:46:32 +00:00

Fix Cancel update

This commit is contained in:
Gonçalo Santos
2020-05-14 22:02:10 +01:00
committed by Junyoung Choi
parent 553832bdfa
commit 3e405e1abf
2 changed files with 23 additions and 10 deletions

View File

@@ -117,8 +117,9 @@ function downloadUpdate() {
})
if (index === 0) {
ipcRenderer.send('update-app-confirm')
ipcRenderer.send('update-download-confirm')
} else if (index === 1) {
ipcRenderer.send('update-cancel')
ConfigManager.set({ autoUpdateEnabled: false })
}
}