Skip to main content

Class: AppInfo

Constructors​

Constructor​

new AppInfo(info, buildVersion, platformSpecificOptions?): AppInfo

Parameters​

info​

Packager

buildVersion​

string | Nullish

platformSpecificOptions?​

PlatformSpecificBuildOptions | null

Returns​

AppInfo

Properties​

buildNumber​

readonly buildNumber: string | undefined


buildVersion​

readonly buildVersion: string


description​

readonly description: string


productFilename​

readonly productFilename: string


productName​

readonly productName: string


sanitizedProductName​

readonly sanitizedProductName: string


shortVersion​

readonly shortVersion: string | undefined


shortVersionWindows​

readonly shortVersionWindows: string | undefined


type​

readonly type: string | undefined


version​

readonly version: string

Accessors​

channel​

Get Signature​

get channel(): string | null

Returns​

string | null


companyName​

Get Signature​

get companyName(): string | null

Returns​

string | null


Get Signature​

get copyright(): string

Returns​

string


id​

Get Signature​

get id(): string

Returns​

string


linuxPackageName​

Get Signature​

get linuxPackageName(): string

Returns​

string


macBundleIdentifier​

Get Signature​

get macBundleIdentifier(): string

Returns​

string


name​

Get Signature​

get name(): string

Returns​

string


sanitizedName​

Get Signature​

get sanitizedName(): string

Returns​

string


updaterCacheDirName​

Get Signature​

get updaterCacheDirName(): string

Returns​

string

Methods​

computePackageUrl()​

computePackageUrl(): Promise<string | null>

Returns​

Promise<string | null>


getVersionInWeirdWindowsForm()​

getVersionInWeirdWindowsForm(isSetBuildNumber?): string

Parameters​

isSetBuildNumber?​

boolean = true

Returns​

string