Skip to content

Commit d7a5157

Browse files
authored
Create separate release builds for Intel Silicon and Apple Silicon macs (#406)
Closes #405
1 parent e9be824 commit d7a5157

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.github/workflows/release.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ jobs:
5858
- name: Package macOS
5959
if: runner.os == 'macOS'
6060
run: |
61-
npx electron-builder --mac dmg --universal --publish always
61+
npx electron-builder --mac dmg --x64 --publish always
62+
npx electron-builder --mac dmg --arm64 --publish always
6263
env:
6364
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6465

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"allowToChangeInstallationDirectory": true
7777
},
7878
"mac": {
79-
"artifactName": "${productName} Setup ${version}.${ext}",
79+
"artifactName": "${productName} Setup ${version} ${arch}.${ext}",
8080
"icon": "build/icon.icns",
8181
"category": "public.app-category.education",
8282
"darkModeSupport": true,

0 commit comments

Comments
 (0)