UNPKG

848 BTypeScriptView Raw
1import { LinuxTargetSpecificOptions } from "..";
2import { LinuxPackager } from "../linuxPackager";
3import { IconInfo } from "../platformPackager";
4export declare const installPrefix = "/opt";
5export declare class LinuxTargetHelper {
6 private packager;
7 private readonly iconPromise;
8 maxIconPath: string | null;
9 constructor(packager: LinuxPackager);
10 readonly icons: Promise<Array<IconInfo>>;
11 private computeDesktopIcons;
12 getDescription(options: LinuxTargetSpecificOptions): string;
13 writeDesktopEntry(targetSpecificOptions: LinuxTargetSpecificOptions, exec?: string, destination?: string | null, extra?: {
14 [key: string]: string;
15 }): Promise<string>;
16 computeDesktopEntry(targetSpecificOptions: LinuxTargetSpecificOptions, exec?: string, extra?: {
17 [key: string]: string;
18 }): Promise<string>;
19}