You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The downloadUpdateOptions object has a property named requestHeader whereas httpExecutor expects a property named headers.
In our scenario we are setting an Authorization header and are seeing it fall back to doing a full download every time as it is not able to download the blockmap from our update server without providing that header.
The text was updated successfully, but these errors were encountered:
When setting custom headers using
autoUpdater.requestHeaders
the custom headers are not sent on the request to download theblockmap
file.https://github.com/electron-userland/electron-builder/blob/master/packages/electron-updater/src/NsisUpdater.ts#L146 the
requestHeaders
parameter is not used for the blockmap download.The
downloadUpdateOptions
object has a property namedrequestHeader
whereashttpExecutor
expects a property namedheaders
.In our scenario we are setting an
Authorization
header and are seeing it fall back to doing a full download every time as it is not able to download the blockmap from our update server without providing that header.The text was updated successfully, but these errors were encountered: