nwjs-builder-phoenix
Version:
A possible solution to build and package a ready for distribution NW.js app for Windows, macOS and Linux.
21 lines (20 loc) • 657 B
TypeScript
import { DownloaderBase } from './common/DownloaderBase';
export interface IDownloaderOptions {
platform?: string;
arch?: string;
version?: string;
flavor?: string;
mirror?: string;
useCaches?: boolean;
showProgress?: boolean;
forceCaches?: boolean;
destination?: string;
}
export declare class Downloader extends DownloaderBase {
static DEFAULT_OPTIONS: IDownloaderOptions;
options: IDownloaderOptions;
constructor(options: IDownloaderOptions);
fetch(): Promise<string>;
protected handleVersion(version: string): Promise<any>;
protected extensionByPlatform(platform: string): "tar.gz" | "zip";
}