targetUtil.d.ts 757 B

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