18 lines
680 B
TypeScript
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;
|
||
|
}
|