Skip to main content

Interface: ProviderRuntimeOptions

Properties​

crossOriginHeaderPolicy​

crossOriginHeaderPolicy: CrossOriginHeaderPolicy

Chooses the request headers each update info request (e.g. a channel file) on another origin than Provider.feedBaseUrl sends: the updater's, which asks the app's crossOriginHeaders. Set by electron-updater; code that constructs a built-in provider passes on the runtime options it was given. Without a function, the provider's constructor throws ERR_UPDATER_CROSS_ORIGIN_HEADER_POLICY_MISSING.


executor​

executor: ElectronHttpExecutor


isUseMultipleRangeRequest​

isUseMultipleRangeRequest: boolean


platform​

platform: ProviderPlatform