Skip to content

Commit

Permalink
fix: removing double exec of checkForUpdates that causes error thro…
Browse files Browse the repository at this point in the history
…wn: "The command is disabled and cannot be executed" (#5989)
  • Loading branch information
mmaietta committed Jun 26, 2021
1 parent 8e6f008 commit 71d3704
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions packages/electron-updater/src/MacUpdater.ts
Expand Up @@ -158,9 +158,6 @@ export class MacUpdater extends AppUpdater {
this.nativeUpdater.on("update-downloaded", () => {
this.nativeUpdater.quitAndInstall()
})

// And trigger the update
this.nativeUpdater.checkForUpdates()
}
}
}

0 comments on commit 71d3704

Please sign in to comment.