Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update electron and mac build target #1928

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.11.0
node-version: 20.12.1

- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: 8
version: 9

- name: Build
shell: bash
Expand Down
2 changes: 0 additions & 2 deletions build/entitlements.mac.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
<true/>
<key>com.apple.security.cs.allow-unsigned-executable-memory</key>
<true/>
<key>com.apple.security.cs.disable-library-validation</key>
<true/>
</dict>
</plist>
17 changes: 13 additions & 4 deletions electron-builder.json5
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,22 @@
"dist"
],
"mac": {
"asarUnpack": [
"**/*.node"
],
"artifactName": "${productName}-${version}.${ext}",
"entitlements": "build/entitlements.mac.plist",
"entitlementsInherit": "build/entitlements.mac.plist",
hardenedRuntime: true,
"target": [
"default"
]
"hardenedRuntime": true,
"target": {
target: "default",
arch: ["universal"],
},
"gatekeeperAssess": true,
"notarize": false,
},
"dmg": {
"sign": false
},
"afterSign": "scripts/notarize.cjs",
"win": {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"node": "20.9.0"
},
"devDependencies": {
"@electron/notarize": "^2.3.0",
"@electron/notarize": "^2.5.0",
"@fortawesome/fontawesome-svg-core": "^6.6.0",
"@fortawesome/free-solid-svg-icons": "^6.6.0",
"@fortawesome/vue-fontawesome": "^3.0.6",
Expand All @@ -69,7 +69,7 @@
"cbor2": "^1.7.0",
"date-fns": "^3.6.0",
"electron": "^32.2.0",
"electron-builder": "^25.1.7",
"electron-builder": "^25.1.8",
"electron-devtools-installer": "^3.2.0",
"electron-log": "^5.2.0",
"electron-updater": "^6.3.9",
Expand Down
Loading
Loading