Skip to main content

Class: default

Extends​

Constructors​

Constructor​

new default(packager, outDir): SquirrelWindowsTarget

Parameters​

packager​

WinPackager

outDir​

string

Returns​

SquirrelWindowsTarget

Overrides​

Target.constructor

Properties​

buildQueueManager​

readonly buildQueueManager: AsyncTaskManager

Inherited from​

Target.buildQueueManager


isAsyncSupported​

isAsyncSupported: boolean = false

Overrides​

Target.isAsyncSupported


name​

readonly name: string

Inherited from​

Target.name


options​

readonly options: SquirrelWindowsOptions

Overrides​

Target.options


outDir​

readonly outDir: string

Inherited from​

Target.outDir

Accessors​

writesUpdateInfo​

Get Signature​

get writesUpdateInfo(): boolean

Whether this target's artifacts carry auto-update metadata (isWriteUpdateInfo), known before anything is built. The publish preflight uses it to enforce update-manifest signing before the first upload of the whole build. A target that emits update info without saying so here is still enforced when its artifact is created - only uploads of other targets that finished earlier can slip through - so custom targets should override it. "Emits update info" means an artifact event with isWriteUpdateInfo: true and no explicit publishConfig: an artifact with an explicit publishConfig is only uploaded, and electron-builder writes no manifest for it.

Returns​

boolean

Inherited from​

Target.writesUpdateInfo

Methods​

build()​

build(appOutDir, arch): Promise<void>

Parameters​

appOutDir​

string

arch​

Arch

Returns​

Promise<void>

Overrides​

Target.build


checkOptions()​

checkOptions(): Promise<any>

Returns​

Promise<any>

Inherited from​

Target.checkOptions


computeEffectiveDistOptions()​

computeEffectiveDistOptions(appDirectory, outputDirectory, setupFile): Promise<InstallerOptions>

Parameters​

appDirectory​

string

outputDirectory​

string

setupFile​

string

Returns​

Promise<InstallerOptions>


finishBuild()​

finishBuild(): Promise<any>

Returns​

Promise<any>

Inherited from​

Target.finishBuild