UNPKG

670 BTypeScriptView Raw
1import { Target, AppInfo } from "../";
2import { Arch } from "builder-util";
3import { PlatformPackager } from "../platformPackager";
4export declare class StageDir {
5 readonly dir: string;
6 constructor(dir: string);
7 getTempFile(name: string): string;
8 cleanup(): Promise<void>;
9 toString(): string;
10}
11export declare function createStageDir(target: Target, packager: PlatformPackager<any>, arch: Arch): Promise<StageDir>;
12export declare function createStageDirPath(target: Target, packager: PlatformPackager<any>, arch: Arch): Promise<string>;
13export declare function getWindowsInstallationDirName(appInfo: AppInfo, isTryToUseProductName: boolean): string;