The top-level linux key contains set of options instructing electron-builder on how it should build Linux targets. These options applicable for any Linux target.

  • target = AppImage String | TargetConfiguration - Target package type: list of AppImage, snap, deb, rpm, freebsd, pacman, p5p, apk, 7z, zip, tar.xz, tar.lz, tar.gz, tar.bz2, dir.

    electron-builder docker image can be used to build Linux targets on any platform.

    Please do not put an AppImage into another archive like a .zip or .tar.gz.

  • maintainer String - The maintainer. Defaults to author.
  • vendor String - The vendor. Defaults to author.
  • executableName String - The executable name. Defaults to productName. Cannot be specified per target, allowed only in the linux.
  • icon String - The path to icon set directory, relative to the build resources or to the project directory. The icon filename must contain the size (e.g. 32x32.png) of the icon. By default will be generated automatically based on the macOS icns file.
  • synopsis String - The short description.
  • description String - As description from application package.json, but allows you to specify different for Linux.
  • category String - The application category.
  • desktop any - The Desktop file entries (name to value).

AppImage Options

The top-level appImage key contains set of options instructing electron-builder on how it should build AppImage.

  • systemIntegration = ask "ask" | "doNotAsk" - The system integration installation.

Inherited from CommonLinuxOptions:

Inherited from TargetSpecificOptions:

Debian Package Options

The top-level deb key contains set of options instructing electron-builder on how it should build Debian package.

  • compression = xz "gz" | "bzip2" | "xz" - The compression type.
  • depends Array<String> - Package dependencies. Defaults to ["gconf2", "gconf-service", "libnotify4", "libappindicator1", "libxtst6", "libnss3"].
  • packageCategory String - The package category.
  • priority String - The Priority attribute.

All LinuxTargetSpecificOptions can be also specified in the deb to customize Debian package.

LinuxTargetSpecificOptions APK, FreeBSD, Pacman, P5P and RPM Options

The top-level apk, freebsd, pacman, p5p and rpm keys contains set of options instructing electron-builder on how it should build corresponding Linux target.

  • depends Array<String> - Package dependencies.
  • icon String
  • packageCategory String - The package category.
  • vendor String
  • maintainer String
  • afterInstall String
  • afterRemove String

Inherited from CommonLinuxOptions:

Inherited from TargetSpecificOptions:

results matching ""

    No results matching ""