1
0
mirror of https://github.com/BoostIo/Boostnote synced 2026-06-03 21:23:22 +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
+2 -1
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 })
}
}