UNPKG

@reforged/maker-appimage

Version:

An AppImage maker implementation for the Electron Forge.

35 lines 1.19 kB
import { MakerBase } from "@electron-forge/maker-base"; import type MakerAppImageConfig from "../types/config.d.ts"; import type { MakerMeta } from "./utils.js"; /** * An AppImage maker for Electron Forge. * * @remarks * See `Readme.md` file distributed in subproject's root dir for * additional information about this maker. See JSDoc/TSDoc/TypeDoc * documentation (this ones!) for supported configuration options. * * @example * ```js * { * name: "@reforged/maker-appimage" * config: { * options: { * categories: ["Network"], * icon: "path/to/icon.svg" * } * } * } * ``` */ export default class MakerAppImage extends MakerBase<MakerAppImageConfig> { defaultPlatforms: ["linux"]; name: "AppImage"; requiredExternalBinaries: ["mksquashfs"]; isSupportedOnCurrentPlatform: () => true; make({ appName, dir, makeDir, packageJSON, targetArch }: MakerMeta, ...vendorExt: unknown[]): Promise<[AppImagePath: string]>; } export { MakerAppImage }; export type { MakerAppImageConfig, MakerAppImageConfigOptions } from "../types/config.d.ts"; export type { ForgeArch, MakerMeta } from "./utils.js"; //# sourceMappingURL=main.d.ts.map