Skip to content

app builder lib.Class.AppInfo

Electron-Builder / app-builder-lib / AppInfo

Constructors

new AppInfo()

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

Parameters

info: Packager

buildVersion: undefined | null | string

platformSpecificOptions: null | PlatformSpecificBuildOptions = null

normalizeNfd: boolean = false

Returns

AppInfo

Properties

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

Accessors

channel

get channel(): null | string

Returns

null | string


companyName

get companyName(): null | string

Returns

null | string


get copyright(): string

Returns

string


id

get id(): string

Returns

string


linuxPackageName

get linuxPackageName(): string

Returns

string


macBundleIdentifier

get macBundleIdentifier(): string

Returns

string


name

get name(): string

Returns

string


sanitizedName

get sanitizedName(): string

Returns

string


updaterCacheDirName

get updaterCacheDirName(): string

Returns

string

Methods

computePackageUrl()

computePackageUrl(): Promise<null | string>

Returns

Promise<null | string>


getVersionInWeirdWindowsForm()

getVersionInWeirdWindowsForm(isSetBuildNumber): string

Parameters

isSetBuildNumber: boolean = true

Returns

string