跳到内容

app builder lib.Class.Target

Electron-Builder / app-builder-lib / 目标

扩展自

构造函数

new Target()

protected new Target(name, isAsyncSupported): Target

参数

name: string

isAsyncSupported: boolean = true

返回值

Target

属性

isAsyncSupported

readonly isAsyncSupported: boolean = true


name

readonly name: string


options

abstract readonly options: TargetSpecificOptions | Nullish


outDir

abstract readonly outDir: string

方法

build()

abstract build(appOutDir, arch): Promise<any>

参数

appOutDir: string

arch: Arch

返回值

Promise<any>


checkOptions()

checkOptions(): Promise<any>

返回值

Promise<any>


finishBuild()

finishBuild(): Promise<any>

返回值

Promise<any>