Skip to main content

Interface: LinuxTargetSpecificOptions

Extends

Extended by

Properties

afterInstall?

readonly optional afterInstall?: string | null

File path to script to be passed to FPM for --after-install arg.


afterRemove?

readonly optional afterRemove?: string | null

File path to script to be passed to FPM for --after-remove arg.


appArmorProfile?

readonly optional appArmorProfile?: string | null

File path to custom AppArmor profile (Ubuntu 24+)


artifactName?

readonly optional artifactName?: string | null

The artifact file name template.

Inherited from

TargetSpecificOptions.artifactName


category?

readonly optional category?: string | null

The application category.

Inherited from

CommonLinuxOptions.category


compression?

readonly optional compression?: "gz" | "bzip2" | "xz" | "xzmt" | "gzip" | "zst" | "zstd" | null

The compression type passed to fpm. For deb, rpm, and pacman targets prefer the typed per-format interfaces (DebOptions, RpmOptions, PacmanOptions) which narrow this to only the values that fpm actually accepts for that format.

Default

xz

depends?

readonly optional depends?: string[] | null

Package dependencies. rpm defaults to ["gtk3", "libnotify", "nss", "libXScrnSaver", "(libXtst or libXtst6)", "xdg-utils", "at-spi2-core", "(libuuid or libuuid1)"] pacman defaults to ["c-ares", "ffmpeg", "gtk3", "http-parser", "libevent", "libvpx", "libxslt", "libxss", "minizip", "nss", "re2", "snappy", "libnotify", "libappindicator-gtk3"]


description?

readonly optional description?: string | null

As description from application package.json, but allows you to specify different for Linux.

Inherited from

CommonLinuxOptions.description


desktop?

readonly optional desktop?: LinuxDesktopFile | null

The Desktop file

Inherited from

CommonLinuxOptions.desktop


executableArgs?

readonly optional executableArgs?: string[] | null

The executable parameters. Pass to executableName

Inherited from

CommonLinuxOptions.executableArgs


fpm?

readonly optional fpm?: string[] | null

Advanced only The fpm options.

Example: ["--before-install=build/deb-preinstall.sh", "--after-upgrade=build/deb-postinstall.sh"]


icon?

readonly optional icon?: string


maintainer?

readonly optional maintainer?: string | null


mimeTypes?

readonly optional mimeTypes?: string[] | null

The mime types in addition to specified in the file associations. Use it if you don't want to register a new mime type, but reuse existing.

Inherited from

CommonLinuxOptions.mimeTypes


packageCategory?

readonly optional packageCategory?: string | null

The package category.


packageName?

readonly optional packageName?: string | null

The name of the package.


publish?

optional publish?: Publish

Inherited from

TargetSpecificOptions.publish


synopsis?

readonly optional synopsis?: string | null

The short description.

Inherited from

CommonLinuxOptions.synopsis


vendor?

readonly optional vendor?: string | null