app builder lib.Class.AppInfo
Electron-Builder / app-builder-lib / AppInfo
构造函数¶
new AppInfo()¶
new AppInfo(
info
,buildVersion
,platformSpecificOptions
,normalizeNfd
):AppInfo
参数¶
• info: Packager
• buildVersion: string
| Nullish
• platformSpecificOptions: null
| PlatformSpecificBuildOptions
= null
• normalizeNfd: boolean
= false
返回¶
属性¶
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
= true
返回¶
string