Skip to content

Commit

Permalink
First Apple Silicon build support.
Browse files Browse the repository at this point in the history
Signed-off-by: ubi de feo <me@ubidefeo.com>
  • Loading branch information
ubidefeo committed Apr 19, 2024
1 parent 2b560af commit edfccf8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ jobs:
config:
- os: windows-2019
- os: ubuntu-latest
- os: macos-latest
- os: macos-13
- os: macos-14
runs-on: ${{ matrix.config.os }}
timeout-minutes: 90

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"post-set-shell": "npm config set script-shell bash",
"rebuild": "electron-rebuild",
"dev": "electron --inspect ./",
"build": "npm run post-set-shell && electron-builder $(if [ $(uname -m) = arm64 ]; then echo --mac --x64; fi)",
"build": "npm run post-set-shell && electron-builder",
"postinstall": "npm run post-set-shell && npm run rebuild"
},
"devDependencies": {
Expand Down

0 comments on commit edfccf8

Please sign in to comment.