Skip to main content

Interface: CustomPublishOptions

Extends​

Indexable​

[index: string]: any

Properties​

provider​

readonly provider: "custom"

The provider. Must be custom.

Overrides​

PublishConfiguration.provider


publishAutoUpdate?​

readonly optional publishAutoUpdate?: 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?​

readonly optional requestHeaders?: OutgoingHttpHeaders

Any custom request headers

Inherited from​

PublishConfiguration.requestHeaders


timeout?​

readonly optional timeout?: number | null

Request timeout in milliseconds. (Default is 2 minutes; O is ignored)

Default​

120000

Inherited from​

PublishConfiguration.timeout


updateProvider?​

optional updateProvider?: (options, updater, runtimeOptions) => any

The Provider to provide UpdateInfo regarding available updates. Required to use custom providers with electron-updater.

Parameters​

options​

CustomPublishOptions

updater​

any

runtimeOptions​

any

Returns​

any