- NPM
yarn electronify
Options:
--version Show version number [boolean]
--url, -u Your URL you want to build an archive for. [string]
--os, -o Your operating system. [string]
--format, -f Your desired target format. [string]
--arch, -a The architecture of your system. [string]
--name, -n The name which should be used. [string]
--icon, -i The path to your icon you wish to use. [string]
--verbose, -v Activate DEBUG logging messages. [boolean]
--help Show help [boolean]
This are the theoretically possible formats see the electron-builder documentation for more details, for the specific requirements. Especially if you want to build for a OS that differs from the one you are currently using.
OS | Format |
---|---|
Valid for all | 7z , zip , tar.xz , tar.7z , tar.lz , tar.gz , tar.bz2 , dir |
macos | dmg , pkg , mas |
linux | appimage , snap , deb , rpm , freebsd , pacman , p5p , apk |
windows | nsis , nsis-web , portable , appx , msi , squirrel |
Supported: x64, ia32, armv7l, arm64
If you want to use a custom icon it shold be 512x512 in size
Windows:
- Type
.png
or.ico
macOS
- Type
.icns
Linux:
- Type:
.icns
yarn global add electronify-site
or
npx electronify-site