Package Electron apps
Create installers on different platforms:
-
OSX: .dmg -
Windows: .exe -
Linux: .AppImage, .snap and .deb
Usage
- Download the binary https://github.com/Parity-JS/shell/releases
- Run latest parity
- Double-click on the installed app
More manual way:
- Clone this branch
npm run package
- Run latest parity
- Double-click on the correct binary inside
dist/
folder
Note
There are three tools to bundle Electron apps: electron-builder, electron-packager and electron-forge. Forge is boilerplate+tooling+everything to kickstart an app, we don't need that since we already have the app. A quick benchmark between -builder & -packager makes me prefer builder (better doc, more features, more community), so I went with it.