UNPKG

665 BTypeScriptView Raw
1import { Arch } from "builder-util";
2import { SnapOptions } from "..";
3import { Target } from "../core";
4import { LinuxPackager } from "../linuxPackager";
5import { LinuxTargetHelper } from "./LinuxTargetHelper";
6export 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 readonly isElectron2;
15 private createDescriptor;
16 build(appOutDir: string, arch: Arch): Promise<any>;
17}