thedesk/app/node_modules/app-builder-lib/out/targets/targetUtil.d.ts
2019-09-12 23:38:13 +09:00

14 lines
670 B
TypeScript

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;