thedesk/app/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.d.ts

23 lines
977 B
TypeScript
Raw Permalink Normal View History

2019-09-13 00:38:13 +10:00
import { LinuxTargetSpecificOptions } from "..";
import { LinuxPackager } from "../linuxPackager";
import { IconInfo } from "../platformPackager";
export declare const installPrefix = "/opt";
export declare class LinuxTargetHelper {
private packager;
private readonly iconPromise;
private readonly mimeTypeFilesPromise;
maxIconPath: string | null;
constructor(packager: LinuxPackager);
readonly icons: Promise<Array<IconInfo>>;
readonly mimeTypeFiles: Promise<string | null>;
private computeMimeTypeFiles;
private computeDesktopIcons;
getDescription(options: LinuxTargetSpecificOptions): string;
writeDesktopEntry(targetSpecificOptions: LinuxTargetSpecificOptions, exec?: string, destination?: string | null, extra?: {
[key: string]: string;
}): Promise<string>;
computeDesktopEntry(targetSpecificOptions: LinuxTargetSpecificOptions, exec?: string, extra?: {
[key: string]: string;
}): Promise<string>;
}