snap.d.ts 700 B

1234567891011121314151617
  1. import { Arch } from "builder-util";
  2. import { Target } from "../core";
  3. import { LinuxPackager } from "../linuxPackager";
  4. import { SnapOptions } from "../options/SnapOptions";
  5. import { LinuxTargetHelper } from "./LinuxTargetHelper";
  6. export default class SnapTarget extends Target {
  7. private readonly packager;
  8. private readonly helper;
  9. readonly outDir: string;
  10. readonly options: SnapOptions;
  11. isUseTemplateApp: boolean;
  12. constructor(name: string, packager: LinuxPackager, helper: LinuxTargetHelper, outDir: string);
  13. private replaceDefault;
  14. private createDescriptor;
  15. build(appOutDir: string, arch: Arch): Promise<any>;
  16. private isElectronVersionGreaterOrEqualThan;
  17. }