Skip to content

Commit

Permalink
Set autoUpdater.allowDowngrade to True in order to allow switching fr…
Browse files Browse the repository at this point in the history
…om beta version back to stable
  • Loading branch information
heyman committed Dec 7, 2023
1 parent 6e9195c commit 3c4008f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions electron/main/auto-update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ autoUpdater.logger = log
autoUpdater.logger.transports.file.level = "info"

autoUpdater.autoDownload = false
autoUpdater.allowDowngrade = true

autoUpdater.on('error', (error) => {
window?.webContents.send(UPDATE_ERROR, error == null ? "unknown" : (error.stack || error).toString())
Expand Down

0 comments on commit 3c4008f

Please sign in to comment.