mirror of
https://github.com/heyman/heynote.git
synced 2024-11-28 19:03:45 +01:00
Set autoUpdater.allowDowngrade to True in order to allow switching from beta version back to stable
This commit is contained in:
parent
6e9195c835
commit
3c4008f7f7
@ -24,6 +24,7 @@ autoUpdater.logger = log
|
|||||||
autoUpdater.logger.transports.file.level = "info"
|
autoUpdater.logger.transports.file.level = "info"
|
||||||
|
|
||||||
autoUpdater.autoDownload = false
|
autoUpdater.autoDownload = false
|
||||||
|
autoUpdater.allowDowngrade = true
|
||||||
|
|
||||||
autoUpdater.on('error', (error) => {
|
autoUpdater.on('error', (error) => {
|
||||||
window?.webContents.send(UPDATE_ERROR, error == null ? "unknown" : (error.stack || error).toString())
|
window?.webContents.send(UPDATE_ERROR, error == null ? "unknown" : (error.stack || error).toString())
|
||||||
|
Loading…
Reference in New Issue
Block a user