Electron Builder
Contents
Build Process
Targets
A 'minimal' package.json file is as:
"name": "my-app",
"productName": "My App",
"author": {
"name": "Me",
"email": "[email protected]"
},
"version": "0.0.1",
"license": "GPL-3.0",
"build": {
appId: "com.example.app",
},Note that appId feeds directly into the build process for macOS and Windows (NSIS target only).
Under build, there are target-specific objects.
Keyword |
Description |
mac |
options for all macOS targets |
mas |
Mac Application Store options |
dmg |
macOS DMG options |
pkg |
macOS PKG options |
win |
options for all Windows targets |
nsis |
NSIS options |
nsisWeb |
web installer options inheriting from NSIS options |
appx |
Windows App Store (AppX) options |
squirrelWindows |
Squirrel Windows options |
linux |
options for all Linux targets |
deb |
Debian options |
snap |
SnapCraft options |
appImage |
AppImage options |
pacman |
pacman options |
rpm |
RPM options |
freebsd |
FreeBSD options |
p5p |
Solaris options |
apk |
Alpine Linux options |
