Set disableDifferentialDownload to true for the auto updater (#4742)
Fixes #4120
This commit is contained in:
@ -251,6 +251,9 @@ export function getAutoUpdater(): AppUpdater {
|
|||||||
|
|
||||||
app.on('ready', () => {
|
app.on('ready', () => {
|
||||||
const autoUpdater = getAutoUpdater()
|
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(() => {
|
setTimeout(() => {
|
||||||
autoUpdater.checkForUpdates().catch(reportRejection)
|
autoUpdater.checkForUpdates().catch(reportRejection)
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
Reference in New Issue
Block a user