Skip to content

app builder lib.Interface.LinuxTargetSpecificOptions

Electron-Builder / app-builder-lib / LinuxTargetSpecificOptions

Extends

Extended by

Properties

afterInstall?

readonly optional afterInstall: null | string

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


afterRemove?

readonly optional afterRemove: null | string

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


appArmorProfile?

readonly optional appArmorProfile: null | string

File path to custom AppArmor profile (Ubuntu 24+)


artifactName?

readonly optional artifactName: null | string

The artifact file name template.

Inherited from

TargetSpecificOptions.artifactName


category?

readonly optional category: null | string

The application category.

Inherited from

CommonLinuxOptions.category


compression?

readonly optional compression: null | "gz" | "bzip2" | "xz" | "lzo"

The compression type.

Default

xz

depends?

readonly optional depends: null | string[]

Package dependencies.


description?

readonly optional description: null | string

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

Inherited from

CommonLinuxOptions.description


desktop?

readonly optional desktop: null | LinuxDesktopFile

The Desktop file

Inherited from

CommonLinuxOptions.desktop


executableArgs?

readonly optional executableArgs: null | string[]

The executable parameters. Pass to executableName

Inherited from

CommonLinuxOptions.executableArgs


fpm?

readonly optional fpm: null | string[]

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: null | string


mimeTypes?

readonly optional mimeTypes: null | string[]

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: null | string

The package category.


packageName?

readonly optional packageName: null | string

The name of the package.


publish?

optional publish: Publish

Inherited from

TargetSpecificOptions.publish


synopsis?

readonly optional synopsis: null | string

The short description.

Inherited from

CommonLinuxOptions.synopsis


vendor?

readonly optional vendor: null | string