From 7a5aaa436f48ee701d760578e2a2751f47d29ea8 Mon Sep 17 00:00:00 2001 From: sbenmoussati <51402489+sbenmoussati@users.noreply.github.com> Date: Wed, 21 Sep 2022 15:56:32 +0200 Subject: [PATCH] SDA-3895 Enabling downgrade capability --- src/app/auto-update-handler.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/app/auto-update-handler.ts b/src/app/auto-update-handler.ts index 3e2588ac..e0cd179b 100644 --- a/src/app/auto-update-handler.ts +++ b/src/app/auto-update-handler.ts @@ -28,6 +28,7 @@ export class AutoUpdate { this.autoUpdater.logger = electronLog; this.autoUpdater.autoDownload = false; this.autoUpdater.autoInstallOnAppQuit = true; + this.autoUpdater.allowDowngrade = true; this.autoUpdater.on('update-not-available', () => { const mainWebContents = windowHandler.mainWebContents;