thedesk/app/node_modules/app-builder-lib/out/electron/ElectronFramework.d.ts

25 lines
851 B
TypeScript
Raw Normal View History

2019-09-13 00:38:13 +10:00
import { Configuration } from "../configuration";
import { Framework } from "../Framework";
import { ElectronPlatformName, Packager } from "../index";
export declare type ElectronPlatformName = "darwin" | "linux" | "win32" | "mas";
export interface ElectronDownloadOptions {
version?: string;
/**
* The [cache location](https://github.com/electron-userland/electron-download#cache-location).
*/
cache?: string | null;
/**
* The mirror.
*/
mirror?: string | null;
/** @private */
customDir?: string | null;
/** @private */
customFilename?: string | null;
strictSSL?: boolean;
isVerifyChecksum?: boolean;
platform?: ElectronPlatformName;
arch?: string;
}
export declare function createElectronFrameworkSupport(configuration: Configuration, packager: Packager): Promise<Framework>;