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

18 lines
680 B
TypeScript

import { Arch } from "builder-util";
import { SnapOptions } from "..";
import { Target } from "../core";
import { LinuxPackager } from "../linuxPackager";
import { LinuxTargetHelper } from "./LinuxTargetHelper";
export default class SnapTarget extends Target {
private readonly packager;
private readonly helper;
readonly outDir: string;
readonly options: SnapOptions;
isUseTemplateApp: boolean;
constructor(name: string, packager: LinuxPackager, helper: LinuxTargetHelper, outDir: string);
private replaceDefault;
private createDescriptor;
build(appOutDir: string, arch: Arch): Promise<any>;
private isElectronVersionGreaterOrEqualThen;
}