Skip to content

Commit

Permalink
fix: fix missing x86 arch on electron-builder (#4525)
Browse files Browse the repository at this point in the history
  • Loading branch information
huhuanming authored Apr 30, 2024
1 parent 44c9992 commit a0efb13
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/release-desktop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,13 @@ jobs:
CSC_LINK: './sign.p12'
run: 'cd packages/desktop && yarn build'

- name: Upload Artifacts latest.yml
uses: actions/upload-artifact@v3
with:
name: onekey-desktop-yml
path: |
./packages/desktop/build-electron/*.yml
- name: Upload Artifacts Mac
uses: actions/upload-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions packages/desktop/electron-builder.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ module.exports = {
'icon': 'build/static/images/icons/512x512.png',
'artifactName': 'OneKey-Wallet-${version}-win-${arch}.${ext}',
'verifyUpdateCodeSignature': false,
'target': ['nsis'],
'target': [{ target: 'nsis', arch: ['x64', 'arm64'] }],
},
'linux': {
'extraResources': [
Expand All @@ -106,7 +106,7 @@ module.exports = {
'artifactName': 'OneKey-Wallet-${version}-linux-${arch}.${ext}',
'executableName': 'onekey-wallet',
'category': 'Utility',
'target': ['AppImage'],
'target': [{ target: 'AppImage', arch: ['x64', 'arm64'] }],
},
'afterSign': 'scripts/notarize.js',
};

0 comments on commit a0efb13

Please sign in to comment.