Skip to content

electron updater.Class.NsisUpdater

Electron-Builder / electron-updater / NsisUpdater

Extends

Constructors

new NsisUpdater()

new NsisUpdater(options?, app?): NsisUpdater

Parameters

options?: null | AllPublishOptions

app?: AppAdapter

Returns

NsisUpdater

Overrides

BaseUpdater.constructor

Properties

_verifyUpdateCodeSignature

protected _verifyUpdateCodeSignature: verifyUpdateCodeSignature


installDirectory?

optional installDirectory: string

Specify custom install directory path

Accessors

verifyUpdateCodeSignature

get verifyUpdateCodeSignature(): verifyUpdateCodeSignature

The verifyUpdateCodeSignature. You can pass win-verify-signature or another custom verify function: (publisherName: string[], path: string) => Promise<string | null>. The default verify function uses windowsExecutableCodeSignatureVerifier

set verifyUpdateCodeSignature(value): void

Parameters

value: verifyUpdateCodeSignature

Returns

verifyUpdateCodeSignature

Methods

doInstall()

protected doInstall(options): boolean

Parameters

options: InstallOptions

Returns

boolean

Overrides

BaseUpdater.doInstall