SDA-3895 Enabling downgrade capability

This commit is contained in:
sbenmoussati authored and Salah Benmoussati committed 2022-10-21 13:11:36 +02:00
1 parent 572cf8f777
commit 7a5aaa436f
1 file changed
+1
+1
View File
@@ -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;