From 71d37044d348ab0cd8f0f9f7754bf6ebaa4b996c Mon Sep 17 00:00:00 2001 From: Mike Maietta Date: Sat, 26 Jun 2021 13:07:49 -0700 Subject: [PATCH] fix: removing double exec of `checkForUpdates` that causes error thrown: "The command is disabled and cannot be executed" (#5989) --- packages/electron-updater/src/MacUpdater.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/packages/electron-updater/src/MacUpdater.ts b/packages/electron-updater/src/MacUpdater.ts index 929ebd117a..a507286478 100644 --- a/packages/electron-updater/src/MacUpdater.ts +++ b/packages/electron-updater/src/MacUpdater.ts @@ -158,9 +158,6 @@ export class MacUpdater extends AppUpdater { this.nativeUpdater.on("update-downloaded", () => { this.nativeUpdater.quitAndInstall() }) - - // And trigger the update - this.nativeUpdater.checkForUpdates() } } }