From 3c4008f7f7e0c9f5d6a12d84f547a612d6ae786b Mon Sep 17 00:00:00 2001 From: Jonatan Heyman Date: Thu, 7 Dec 2023 01:50:49 +0100 Subject: [PATCH] Set autoUpdater.allowDowngrade to True in order to allow switching from beta version back to stable --- electron/main/auto-update.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/electron/main/auto-update.ts b/electron/main/auto-update.ts index fc8db980..a8fe37c3 100644 --- a/electron/main/auto-update.ts +++ b/electron/main/auto-update.ts @@ -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())