Skip to content

Commit

Permalink
Update electron readme to build for rpm and mac universal binary
Browse files Browse the repository at this point in the history
  • Loading branch information
allen-garvey committed Apr 24, 2023
1 parent 989c986 commit 8dbff44
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions docs/electron.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,13 @@
* Run `make electron`
* In `electron` directory run `npm install` to install dependencies
* Run `npm run package`
* Run `npm run make`
* Binaries will be in `electron/out` (note this will only create binaries for current operating system / platform)
* Run `npm run make` or `npm run make -- --arch=universal --platform=darwin` on Mac for universal (both Apple Silicon and x64) build
* Binaries will be in `electron/out` (note this will only create binaries for current operating system / platform)

## Building RPM (Red Hat) on Ubuntu

* Run `apt install rpm`
* `cd` to `electron` directory
* Run `npm install @electron-forge/maker-rpm --save-dev`
* In `electron/forge.config.js` uncomment entry related to `@electron-forge/maker-rpm`
* Follow steps above

0 comments on commit 8dbff44

Please sign in to comment.