Class: DmgTarget
Extends
Constructors
Constructor
new DmgTarget(
packager,outDir):DmgTarget
Parameters
packager
outDir
string
Returns
DmgTarget
Overrides
Properties
buildQueueManager
readonlybuildQueueManager:AsyncTaskManager
Inherited from
isAsyncSupported
isAsyncSupported:
boolean=false
Overrides
name
readonlyname:string
Inherited from
options
readonlyoptions:DmgOptions
Overrides
outDir
readonlyoutDir:string
Inherited from
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
Overrides
Methods
build()
build(
appPath,arch):Promise<void>
Parameters
appPath
string
arch
Returns
Promise<void>
Overrides
checkOptions()
checkOptions():
Promise<any>
Returns
Promise<any>
Inherited from
computeDmgOptions()
computeDmgOptions(
appPath):Promise<DmgOptions>
Parameters
appPath
string
Returns
Promise<DmgOptions>
computeVolumeName()
computeVolumeName(
arch,custom?):string
Parameters
arch
custom?
string | null
Returns
string
finishBuild()
finishBuild():
Promise<any>
Returns
Promise<any>