electron builder.Class.AppInfo
Electron-Builder / electron-builder / AppInfo
构造器¶
new AppInfo()¶
new AppInfo(
info
,buildVersion
,platformSpecificOptions
?,normalizeNfd
?):AppInfo
参数¶
• info: Packager
• buildVersion: string
| Nullish
• platformSpecificOptions?: null
| PlatformSpecificBuildOptions
• normalizeNfd?: boolean
返回值¶
属性¶
buildNumber¶
readonly
buildNumber:undefined
|string
buildVersion¶
readonly
buildVersion:string
description¶
readonly
description:string
productFilename¶
readonly
productFilename:string
productName¶
readonly
productName:string
sanitizedProductName¶
readonly
sanitizedProductName:string
shortVersion¶
readonly
shortVersion:undefined
|string
shortVersionWindows¶
readonly
shortVersionWindows:undefined
|string
type¶
readonly
type:undefined
|string
version¶
readonly
version:string
访问器¶
channel¶
get
channel():null
|string
返回值¶
null
| string
companyName¶
get
companyName():null
|string
返回值¶
null
| string
copyright¶
get
copyright():string
返回值¶
string
id¶
get
id():string
返回值¶
string
linuxPackageName¶
get
linuxPackageName():string
返回值¶
string
macBundleIdentifier¶
get
macBundleIdentifier():string
返回值¶
string
name¶
get
name():string
返回值¶
string
sanitizedName¶
get
sanitizedName():string
返回值¶
string
updaterCacheDirName¶
get
updaterCacheDirName():string
返回值¶
string
方法¶
computePackageUrl()¶
computePackageUrl():
Promise
<null
|string
>
返回值¶
Promise
<null
| string
>
getVersionInWeirdWindowsForm()¶
getVersionInWeirdWindowsForm(
isSetBuildNumber
?):string
参数¶
• isSetBuildNumber?: boolean
返回值¶
string