Skip to content

Commit

Permalink
Set disableDifferentialDownload to true for the auto updater (#4742)
Browse files Browse the repository at this point in the history
Fixes #4120
  • Loading branch information
pierremtb authored Dec 11, 2024
1 parent aeb656d commit 00e9725
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,9 @@ export function getAutoUpdater(): AppUpdater {

app.on('ready', () => {
const autoUpdater = getAutoUpdater()
// TODO: we're getting `Error: Response ends without calling any handlers` with our setup,
// so at the moment this isn't worth enabling
autoUpdater.disableDifferentialDownload = true
setTimeout(() => {
autoUpdater.checkForUpdates().catch(reportRejection)
}, 1000)
Expand Down

0 comments on commit 00e9725

Please sign in to comment.