应用构建器库 Interface 框架
Electron-Builder / app-builder-lib / 框架
属性¶
defaultAppIdPrefix¶
readonly
defaultAppIdPrefix:string
distMacOsAppName¶
readonly
distMacOsAppName:string
isCopyElevateHelper¶
readonly
isCopyElevateHelper:boolean
isNpmRebuildRequired¶
readonly
isNpmRebuildRequired:boolean
macOsDefaultTargets¶
readonly
macOsDefaultTargets:string
[]
名称¶
readonly
name:string
版本¶
readonly
version:string
方法¶
afterPack()?¶
optional
afterPack(context
):Promise
<any
>
参数¶
• context: PackContext
返回值¶
Promise
<any
>
beforeCopyExtraFiles()?¶
optional
beforeCopyExtraFiles(options
):Promise
<any
>
参数¶
• options: BeforeCopyExtraFilesOptions
返回值¶
Promise
<any
>
createTransformer()?¶
optional
createTransformer():null
|FileTransformer
返回值¶
null
| FileTransformer
getDefaultIcon()?¶
optional
getDefaultIcon(platform
):null
|string
参数¶
• platform: Platform
返回值¶
null
| string
getExcludedDependencies()?¶
optional
getExcludedDependencies(platform
):null
|string
[]
参数¶
• platform: Platform
返回值¶
null
| string
[]
getMainFile()?¶
optional
getMainFile(platform
):null
|string
参数¶
• platform: Platform
返回值¶
null
| string
prepareApplicationStageDirectory()¶
prepareApplicationStageDirectory(
options
):Promise
<any
>
参数¶
• options: PrepareApplicationStageDirectoryOptions
返回值¶
Promise
<any
>