UNPKG

1.3 kBTypeScriptView Raw
1import { PlatformSpecificBuildOptions } from "./options/PlatformSpecificBuildOptions";
2import { Packager } from "./packager";
3export declare function smarten(s: string): string;
4export declare class AppInfo {
5 private readonly info;
6 private readonly platformSpecificOptions;
7 readonly description: string;
8 readonly version: string;
9 readonly type: string | undefined;
10 readonly shortVersion: string | undefined;
11 readonly shortVersionWindows: string | undefined;
12 readonly buildNumber: string | undefined;
13 readonly buildVersion: string;
14 readonly productName: string;
15 readonly sanitizedProductName: string;
16 readonly productFilename: string;
17 constructor(info: Packager, buildVersion: string | null | undefined, platformSpecificOptions?: PlatformSpecificBuildOptions | null, normalizeNfd?: boolean);
18 get channel(): string | null;
19 getVersionInWeirdWindowsForm(isSetBuildNumber?: boolean): string;
20 private get notNullDevMetadata();
21 get companyName(): string | null;
22 get id(): string;
23 get macBundleIdentifier(): string;
24 get name(): string;
25 get linuxPackageName(): string;
26 get sanitizedName(): string;
27 get updaterCacheDirName(): string;
28 get copyright(): string;
29 computePackageUrl(): Promise<string | null>;
30}