Any Linux Target
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.
Base Linux Configuration¶
Electron-Builder / app-builder-lib / LinuxConfiguration
Extends¶
Properties¶
icon?¶
readonlyoptionalicon:string
The path to icon set directory or one png file, 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.
Overrides¶
PlatformSpecificBuildOptions.icon
maintainer?¶
readonlyoptionalmaintainer:null|string
The maintainer. Defaults to author.
target?¶
readonlyoptionaltarget:TargetConfigType
Target package type: list of AppImage, flatpak, 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.
Default¶
AppImage
Overrides¶
PlatformSpecificBuildOptions.target
vendor?¶
readonlyoptionalvendor:null|string
The vendor. Defaults to author.
Debian Package Options¶
The top-level deb key contains set of options instructing electron-builder on how it should build Debian package.
Electron-Builder / app-builder-lib / DebOptions
Extends¶
Properties¶
depends?¶
readonlyoptionaldepends: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
packageCategory?¶
readonlyoptionalpackageCategory:null|string
The package category.
Overrides¶
LinuxTargetSpecificOptions.packageCategory
priority?¶
readonlyoptionalpriority:null|string
The Priority attribute.
recommends?¶
readonlyoptionalrecommends:null|string[]
The recommended package dependencies..
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.
Electron-Builder / app-builder-lib / LinuxTargetSpecificOptions
Extends¶
Extended by¶
Properties¶
afterInstall?¶
readonlyoptionalafterInstall:null|string
afterRemove?¶
readonlyoptionalafterRemove:null|string
compression?¶
readonlyoptionalcompression:null|"gz"|"bzip2"|"xz"|"lzo"
The compression type.
Default¶
xz
depends?¶
readonlyoptionaldepends:null|string[]
Package dependencies.
fpm?¶
readonlyoptionalfpm:null|string[]
Advanced only The fpm options.
Example: ["--before-install=build/deb-preinstall.sh", "--after-upgrade=build/deb-postinstall.sh"]
icon?¶
readonlyoptionalicon:string
maintainer?¶
readonlyoptionalmaintainer:null|string
packageCategory?¶
readonlyoptionalpackageCategory:null|string
The package category.
packageName?¶
readonlyoptionalpackageName:null|string
The name of the package.
vendor?¶
readonlyoptionalvendor:null|string