31 lines
1.3 KiB
TypeScript
31 lines
1.3 KiB
TypeScript
import { PlatformSpecificBuildOptions } from "./options/PlatformSpecificBuildOptions";
|
|
import { Packager } from "./packager";
|
|
export declare function smarten(s: string): string;
|
|
export declare class AppInfo {
|
|
private readonly info;
|
|
private readonly platformSpecificOptions;
|
|
readonly description: string;
|
|
readonly version: string;
|
|
readonly type: string | undefined;
|
|
readonly shortVersion: string | undefined;
|
|
readonly shortVersionWindows: string | undefined;
|
|
readonly buildNumber: string | undefined;
|
|
readonly buildVersion: string;
|
|
readonly productName: string;
|
|
readonly sanitizedProductName: string;
|
|
readonly productFilename: string;
|
|
constructor(info: Packager, buildVersion: string | null | undefined, platformSpecificOptions?: PlatformSpecificBuildOptions | null, normalizeNfd?: boolean);
|
|
get channel(): string | null;
|
|
getVersionInWeirdWindowsForm(isSetBuildNumber?: boolean): string;
|
|
private get notNullDevMetadata();
|
|
get companyName(): string | null;
|
|
get id(): string;
|
|
get macBundleIdentifier(): string;
|
|
get name(): string;
|
|
get linuxPackageName(): string;
|
|
get sanitizedName(): string;
|
|
get updaterCacheDirName(): string;
|
|
get copyright(): string;
|
|
computePackageUrl(): Promise<string | null>;
|
|
}
|