Skip to content

Package Electron apps

Ghost User requested to merge am-package-electron into next

Create installers on different platforms:

  • OSX: .dmg
  • Windows: .exe
  • Linux: .AppImage, .snap and .deb

Usage

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.

Merge request reports