app builder lib.Interface.PlatformSpecificBuildOptions
Electron-Builder / app-builder-lib / PlatformSpecificBuildOptions
Extends¶
Extended by¶
Properties¶
appId?¶
readonlyoptionalappId:null|string
The application id. Used as CFBundleIdentifier for MacOS and as Application User Model ID for Windows (NSIS target only, Squirrel.Windows not supported). It is strongly recommended that an explicit ID is set.
Default¶
com.electron.${name}
artifactName?¶
readonlyoptionalartifactName:null|string
The artifact file name template. Defaults to ${productName}-${version}.${ext} (some target can have other defaults, see corresponding options).
Overrides¶
TargetSpecificOptions.artifactName
asar?¶
readonlyoptionalasar:null|boolean|AsarOptions
Whether to package the application’s source code into an archive, using Electron’s archive format.
Node modules, that must be unpacked, will be detected automatically, you don’t need to explicitly set asarUnpack - please file an issue if this doesn’t work.
Default¶
true
asarUnpack?¶
readonlyoptionalasarUnpack:null|string|string[]
A glob patterns relative to the app directory, which specifies which files to unpack when creating the asar archive.
compression?¶
readonlyoptionalcompression:null|CompressionLevel
The compression level. If you want to rapidly test build, store can reduce build time significantly. maximum doesn’t lead to noticeable size difference, but increase build time.
Default¶
normal
cscKeyPassword?¶
optionalcscKeyPassword:null|string
cscLink?¶
optionalcscLink:null|string
defaultArch?¶
readonlyoptionaldefaultArch:string
detectUpdateChannel?¶
readonlyoptionaldetectUpdateChannel:boolean
Whether to infer update channel from application version pre-release components. e.g. if version 0.12.1-alpha.1, channel will be set to alpha. Otherwise to latest.
Default¶
true
disableDefaultIgnoredFiles?¶
optionaldisableDefaultIgnoredFiles:null|boolean
Whether to exclude all default ignored files(https://www.electron.build/contents#files) and options. Defaults to false.
Default¶
false
electronLanguages?¶
readonlyoptionalelectronLanguages:string|string[]
The electron locales to keep. By default, all Electron locales used as-is.
electronUpdaterCompatibility?¶
readonlyoptionalelectronUpdaterCompatibility:null|string
The electron-updater compatibility semver range.
executableName?¶
readonlyoptionalexecutableName:null|string
The executable name. Defaults to productName.
fileAssociations?¶
readonlyoptionalfileAssociations:FileAssociation|FileAssociation[]
The file associations.
forceCodeSigning?¶
readonlyoptionalforceCodeSigning:boolean
Whether to fail if app will be not code signed.
generateUpdatesFilesForAllChannels?¶
readonlyoptionalgenerateUpdatesFilesForAllChannels:boolean
Please see Building and Releasing using Channels.
Default¶
false
icon?¶
readonlyoptionalicon:null|string
protocols?¶
The URL protocol schemes.
publish?¶
optionalpublish:Publish
Overrides¶
releaseInfo?¶
readonlyoptionalreleaseInfo:ReleaseInfo
The release info. Intended for command line usage:
-c.releaseInfo.releaseNotes="new features"
target?¶
readonlyoptionaltarget:null|string|TargetConfiguration| (string|TargetConfiguration)[]