Interface: GenericServerOptions
Generic (any HTTP(S) server) options. In all publish options File Macros are supported.
Extends
Properties
channel?
readonlyoptionalchannel?:string|null
The channel.
Default
latest
maxUpdateInfoSize?
readonlyoptionalmaxUpdateInfoSize?:number|null
The largest channel file (latest*.yml) electron-updater reads, in bytes: it is read into memory and parsed before anything
verifies it. A larger one fails the update check with ERR_UPDATER_RESPONSE_TOO_LARGE. Release feeds and provider API responses
(release listings and lookups) are not limited. Written into app-update.yml, so installed apps use it; autoUpdater.maxUpdateInfoSize
overrides it at runtime. A positive integer, or 0 for no limit.
Default
10485760
Inherited from
PublishConfiguration.maxUpdateInfoSize
provider
readonlyprovider:"generic"
The provider. Must be generic.
Overrides
publishAutoUpdate?
readonlyoptionalpublishAutoUpdate?:boolean
Whether to publish auto update info files.
Auto update relies only on the first provider in the list (you can specify several publishers).
Thus, probably, theres no need to upload the metadata files for the other configured providers. But by default will be uploaded. A provider with falsenever becomes the feed embedded inapp-update.yml` while a later provider receives the metadata:
the first provider that does is embedded instead.
Default
true
Inherited from
PublishConfiguration.publishAutoUpdate
requestHeaders?
readonlyoptionalrequestHeaders?:OutgoingHttpHeaders
Any custom request headers
Inherited from
PublishConfiguration.requestHeaders
timeout?
readonlyoptionaltimeout?:number|null
Request timeout in milliseconds. (Default is 2 minutes; O is ignored)
Default
120000
Inherited from
url
readonlyurl:string
The base url. e.g. https://bucket_name.s3.amazonaws.com.
useMultipleRangeRequest?
readonlyoptionaluseMultipleRangeRequest?:boolean
Whether to use multiple range requests for differential update. Defaults to true if url doesn't contain s3.amazonaws.com.