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.

{% include "/generated/appimage-options.md" %}

Debian Package Options

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

{% include "/generated/DebOptions.md" %}

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.

{% include "/generated/LinuxTargetSpecificOptions.md" %}



相关npm包集合




相关站点资源