Skip to content

Commit

Permalink
chore: update electron and mac build target
Browse files Browse the repository at this point in the history
  • Loading branch information
gabaldon committed Oct 15, 2024
1 parent 36b1e14 commit ff07fd1
Show file tree
Hide file tree
Showing 5 changed files with 4,900 additions and 5,580 deletions.
4 changes: 2 additions & 2 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
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

0 comments on commit ff07fd1

Please sign in to comment.