Skip to content

app builder lib.Interface.Framework

Electron-Builder / app-builder-lib / Framework

Properties

defaultAppIdPrefix

readonly defaultAppIdPrefix: string


distMacOsAppName

readonly distMacOsAppName: string


isCopyElevateHelper

readonly isCopyElevateHelper: boolean


isNpmRebuildRequired

readonly isNpmRebuildRequired: boolean


macOsDefaultTargets

readonly macOsDefaultTargets: string[]


name

readonly name: string


version

readonly version: string

Methods

afterPack()?

optional afterPack(context): Promise<any>

Parameters

context: PackContext

Returns

Promise<any>


beforeCopyExtraFiles()?

optional beforeCopyExtraFiles(options): Promise<any>

Parameters

options: BeforeCopyExtraFilesOptions

Returns

Promise<any>


createTransformer()?

optional createTransformer(): null | FileTransformer

Returns

null | FileTransformer


getDefaultIcon()?

optional getDefaultIcon(platform): null | string

Parameters

platform: Platform

Returns

null | string


getExcludedDependencies()?

optional getExcludedDependencies(platform): null | string[]

Parameters

platform: Platform

Returns

null | string[]


getMainFile()?

optional getMainFile(platform): null | string

Parameters

platform: Platform

Returns

null | string


prepareApplicationStageDirectory()

prepareApplicationStageDirectory(options): Promise<any>

Parameters

options: PrepareApplicationStageDirectoryOptions

Returns

Promise<any>