Skip to content

Commit

Permalink
fix(build): upgrade electron-forge to v7
Browse files Browse the repository at this point in the history
- use team id based notarize
  • Loading branch information
andelf committed Mar 27, 2024
1 parent 4a233e3 commit 2febcb4
Show file tree
Hide file tree
Showing 4 changed files with 637 additions and 600 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-desktop-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ jobs:
env:
APPLE_ID: ${{ secrets.APPLE_ID_EMAIL }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_ASC_PROVIDER: ${{ secrets.APPLE_ASC_PROVIDER }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}

- name: Save x64 artifacts
run: |
Expand Down Expand Up @@ -469,7 +469,7 @@ jobs:
env:
APPLE_ID: ${{ secrets.APPLE_ID_EMAIL }}
APPLE_ID_PASSWORD: ${{ secrets.APPLE_ID_PASSWORD }}
APPLE_ASC_PROVIDER: ${{ secrets.APPLE_ASC_PROVIDER }}
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}

- name: Save arm64 artifacts
run: |
Expand Down
3 changes: 2 additions & 1 deletion resources/forge.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@ module.exports = {
'signature-flags': 'library'
},
osxNotarize: {
tool: 'notarytool',
appleId: process.env['APPLE_ID'],
appleIdPassword: process.env['APPLE_ID_PASSWORD'],
ascProvider: process.env['APPLE_ASC_PROVIDER']
teamId: process.env['APPLE_TEAM_ID']
},
},
makers: [
Expand Down
12 changes: 6 additions & 6 deletions resources/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,12 @@
"update-electron-app": "2.0.1"
},
"devDependencies": {
"@electron-forge/cli": "^6.0.4",
"@electron-forge/maker-deb": "^6.0.4",
"@electron-forge/maker-dmg": "^6.0.4",
"@electron-forge/maker-rpm": "^6.0.4",
"@electron-forge/maker-squirrel": "^6.0.4",
"@electron-forge/maker-zip": "^6.0.4",
"@electron-forge/cli": "^7.3.1",
"@electron-forge/maker-deb": "^7.3.1",
"@electron-forge/maker-dmg": "^7.3.1",
"@electron-forge/maker-rpm": "^7.3.1",
"@electron-forge/maker-squirrel": "^7.3.1",
"@electron-forge/maker-zip": "^7.3.1",
"@electron/rebuild": "3.2.10",
"electron": "27.1.3",
"electron-builder": "^22.11.7",
Expand Down
Loading

0 comments on commit 2febcb4

Please sign in to comment.