FlatpakTarget.d.ts 775 B

1234567891011121314151617181920
  1. import { Arch } from "builder-util";
  2. import { Target } from "../core";
  3. import { LinuxPackager } from "../linuxPackager";
  4. import { FlatpakOptions } from "../options/linuxOptions";
  5. import { LinuxTargetHelper } from "./LinuxTargetHelper";
  6. export default class FlatpakTarget extends Target {
  7. private readonly packager;
  8. private helper;
  9. readonly outDir: string;
  10. readonly options: FlatpakOptions;
  11. constructor(name: string, packager: LinuxPackager, helper: LinuxTargetHelper, outDir: string);
  12. get appId(): string;
  13. build(appOutDir: string, arch: Arch): Promise<any>;
  14. private prepareStageDir;
  15. private createSandboxBinWrapper;
  16. private createDesktopFile;
  17. private copyLicenseFile;
  18. private copyIcons;
  19. private getFlatpakBuilderOptions;
  20. }