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

23 lines
977 B
TypeScript

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>;
}