thedesk/app/node_modules/app-builder-lib/out/targets/targetUtil.d.ts

14 lines
670 B
TypeScript
Raw Normal View History

2019-09-13 00:38:13 +10:00
import { Target, AppInfo } from "../";
import { Arch } from "builder-util";
import { PlatformPackager } from "../platformPackager";
export declare class StageDir {
readonly dir: string;
constructor(dir: string);
getTempFile(name: string): string;
cleanup(): Promise<void>;
toString(): string;
}
export declare function createStageDir(target: Target, packager: PlatformPackager<any>, arch: Arch): Promise<StageDir>;
export declare function createStageDirPath(target: Target, packager: PlatformPackager<any>, arch: Arch): Promise<string>;
export declare function getWindowsInstallationDirName(appInfo: AppInfo, isTryToUseProductName: boolean): string;