Set disableDifferentialDownload to true for the auto updater (#4742)

Fixes #4120
This commit is contained in:
Pierre Jacquier
2024-12-11 10:04:02 -05:00
committed by GitHub
parent aeb656d176
commit 00e97257ae

View File

@ -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)