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¶
readonlybuildNumber:undefined|string
buildVersion¶
readonlybuildVersion:string
description¶
readonlydescription:string
productFilename¶
readonlyproductFilename:string
productName¶
readonlyproductName:string
sanitizedProductName¶
readonlysanitizedProductName:string
shortVersion¶
readonlyshortVersion:undefined|string
shortVersionWindows¶
readonlyshortVersionWindows:undefined|string
type¶
readonlytype:undefined|string
version¶
readonlyversion:string
访问器¶
channel¶
getchannel():null|string
返回¶
null | string
companyName¶
getcompanyName():null|string
返回¶
null | string
copyright¶
getcopyright():string
返回¶
string
id¶
getid():string
返回¶
string
linuxPackageName¶
getlinuxPackageName():string
返回¶
string
macBundleIdentifier¶
getmacBundleIdentifier():string
返回¶
string
name¶
getname():string
返回¶
string
sanitizedName¶
getsanitizedName():string
返回¶
string
updaterCacheDirName¶
getupdaterCacheDirName():string
返回¶
string
方法¶
computePackageUrl()¶
computePackageUrl():
Promise<null|string>
返回¶
Promise<null | string>
getVersionInWeirdWindowsForm()¶
getVersionInWeirdWindowsForm(
isSetBuildNumber):string
参数¶
• isSetBuildNumber: boolean = true
返回¶
string