Skip to content
Draft
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
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,8 @@
"@ckb-lumos/common-scripts": "0.23.0",
"@ckb-lumos/config-manager": "0.23.0",
"@ckb-lumos/lumos": "0.23.0",
"@ckb-lumos/rpc": "0.23.0"
"@ckb-lumos/rpc": "0.23.0",
"@electron/rebuild": "3.7.2"
},
"volta": {
"node": "20.10.0"
Expand Down
10 changes: 7 additions & 3 deletions packages/neuron-wallet/electron-builder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ files:
publish:
- github

toolsets:
appimage: "1.0.2"

nsis:
oneClick: false
createDesktopShortcut: always
Expand Down Expand Up @@ -52,9 +55,10 @@ win:
- target: nsis
arch:
- x64
sign: scripts/customSign.js
signingHashAlgorithms:
- sha256
signtoolOptions:
sign: scripts/customSign.js
signingHashAlgorithms:
- sha256

mac:
artifactName: "${productName}-v${version}-${os}-${arch}.${ext}"
Expand Down
2 changes: 1 addition & 1 deletion packages/neuron-wallet/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
"@types/uuid": "8.3.4",
"devtron": "1.4.0",
"electron": "36.8.1",
"electron-builder": "24.13.3",
"electron-builder": "26.8.1",
"electron-devtools-installer": "3.2.1",
"jest-when": "3.6.0",
"neuron-ui": "^0.204.1",
Expand Down
11 changes: 11 additions & 0 deletions packages/neuron-wallet/tests/config/electron-builder.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import fs from 'fs'
import path from 'path'

describe('electron-builder config', () => {
it('uses the FUSE 3 AppImage toolset for Linux AppImage builds', () => {
const config = fs.readFileSync(path.join(__dirname, '..', '..', 'electron-builder.yml'), 'utf8')

expect(config).toMatch(/^toolsets:\n {2}appimage: "1\.0\.2"$/m)
expect(config).toMatch(/^linux:\n[\s\S]*?^ {2}target:\n {4}- AppImage$/m)
})
})
Loading
Loading