Skip to content

electron builder.Interface.DebOptions

Electron-Builder / electron-builder / DebOptions

Extends

Properties

afterInstall?

readonly optional afterInstall: null | string

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

Inherited from

LinuxTargetSpecificOptions.afterInstall


afterRemove?

readonly optional afterRemove: null | string

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

Inherited from

LinuxTargetSpecificOptions.afterRemove


appArmorProfile?

readonly optional appArmorProfile: null | string

File path to custom AppArmor profile (Ubuntu 24+)

Inherited from

LinuxTargetSpecificOptions.appArmorProfile


artifactName?

readonly optional artifactName: null | string

The artifact file name template.

Inherited from

LinuxTargetSpecificOptions.artifactName


category?

readonly optional category: null | string

The application category.

Inherited from

LinuxTargetSpecificOptions.category


compression?

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

The compression type.

Default

xz

Inherited from

LinuxTargetSpecificOptions.compression


depends?

readonly optional depends: null | string[]

Package dependencies. Defaults to ["gconf2", "gconf-service", "libnotify4", "libappindicator1", "libxtst6", "libnss3"]. If need to support Debian, libappindicator1 should be removed, it is deprecated in Debian. If need to support KDE, gconf2 and gconf-service should be removed as it’s no longer used by GNOME.

Overrides

LinuxTargetSpecificOptions.depends


description?

readonly optional description: null | string

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

Inherited from

LinuxTargetSpecificOptions.description


desktop?

readonly optional desktop: null | LinuxDesktopFile

The Desktop file

Inherited from

LinuxTargetSpecificOptions.desktop


executableArgs?

readonly optional executableArgs: null | string[]

The executable parameters. Pass to executableName

Inherited from

LinuxTargetSpecificOptions.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"]

Inherited from

LinuxTargetSpecificOptions.fpm


icon?

readonly optional icon: string

Inherited from

LinuxTargetSpecificOptions.icon


maintainer?

readonly optional maintainer: null | string

Inherited from

LinuxTargetSpecificOptions.maintainer


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

LinuxTargetSpecificOptions.mimeTypes


packageCategory?

readonly optional packageCategory: null | string

The package category.

Overrides

LinuxTargetSpecificOptions.packageCategory


packageName?

readonly optional packageName: null | string

The name of the package.

Inherited from

LinuxTargetSpecificOptions.packageName


priority?

readonly optional priority: null | string

The Priority attribute.


publish?

optional publish: Publish

Inherited from

LinuxTargetSpecificOptions.publish


recommends?

readonly optional recommends: null | string[]

The recommended package dependencies..


synopsis?

readonly optional synopsis: null | string

The short description.

Inherited from

LinuxTargetSpecificOptions.synopsis


vendor?

readonly optional vendor: null | string

Inherited from

LinuxTargetSpecificOptions.vendor