UNPKG

1.19 kBTypeScriptView Raw
1import { Configuration } from "../configuration";
2import { Framework } from "../Framework";
3import { Packager } from "../index";
4export declare type ElectronPlatformName = "darwin" | "linux" | "win32" | "mas";
5/**
6 * Electron distributables branding options.
7 * @see [Electron BRANDING.json](https://github.com/electron/electron/blob/master/shell/app/BRANDING.json).
8 */
9export interface ElectronBrandingOptions {
10 projectName?: string;
11 productName?: string;
12}
13export declare function createBrandingOpts(opts: Configuration): Required<ElectronBrandingOptions>;
14export interface ElectronDownloadOptions {
15 version?: string;
16 /**
17 * The [cache location](https://github.com/electron-userland/electron-download#cache-location).
18 */
19 cache?: string | null;
20 /**
21 * The mirror.
22 */
23 mirror?: string | null;
24 /** @private */
25 customDir?: string | null;
26 /** @private */
27 customFilename?: string | null;
28 strictSSL?: boolean;
29 isVerifyChecksum?: boolean;
30 platform?: ElectronPlatformName;
31 arch?: string;
32}
33export declare function createElectronFrameworkSupport(configuration: Configuration, packager: Packager): Promise<Framework>;