forked from nervosnetwork/neuron
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
97 lines (87 loc) · 2.41 KB
/
electron-builder.yml
File metadata and controls
97 lines (87 loc) · 2.41 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
appId: com.nervos.neuron
copyright: Copyright (C) 2019-2024 Nervos Foundation.
productName: Neuron
# This property will replace to false in package for test action
asar: true
directories:
buildResources: .
output: ../../release
afterSign: scripts/notarize.js
files:
- from: "../.."
to: "."
filter: ["!**/*", ".ckb-version", ".ckb-light-version", "ormconfig.json", "compatible.json"]
- package.json
- dist
- ".env"
- "!**/*.map"
- "!**/src/"
publish:
- github
nsis:
oneClick: false
createDesktopShortcut: always
createStartMenuShortcut: true
runAfterFinish: false
allowToChangeInstallationDirectory: true
dmg:
sign: false
artifactName: "${productName}-v${version}-${arch}.${ext}"
win:
verifyUpdateCodeSignature: false
artifactName: "${productName}-v${version}-setup.${ext}"
icon: assets/icons/icon.ico
extraFiles:
- from: "bin/win/ckb.exe"
to: "bin/ckb.exe"
- from: "bin/win/ckb-light-client.exe"
to: "bin/ckb-light-client.exe"
- from: "light/ckb_light_testnet.toml"
to: "light/ckb_light_testnet.toml"
- from: "light/ckb_light_mainnet.toml"
to: "light/ckb_light_mainnet.toml"
target:
- target: nsis
arch:
- x64
sign: scripts/customSign.js
signingHashAlgorithms:
- sha256
mac:
artifactName: "${productName}-v${version}-${os}-${arch}.${ext}"
category: public.app-category.finance
icon: assets/icons/icon.icns
extraFiles:
- from: "bin/mac/ckb-${arch}"
to: "bin/ckb"
- from: "bin/mac/ckb-light-client"
to: "bin/ckb-light-client"
- from: "light/ckb_light_testnet.toml"
to: "light/ckb_light_testnet.toml"
- from: "light/ckb_light_mainnet.toml"
to: "light/ckb_light_mainnet.toml"
hardenedRuntime: true
gatekeeperAssess: false
entitlements: assets/entitlements.plist
entitlementsInherit: assets/entitlements.plist
electronLanguages: ["en", "zh", "zh_CN", "zh_TW", "ar", "fr"]
target:
- target: default
arch:
- arm64
- x64
linux:
artifactName: "${productName}-v${version}-${arch}.${ext}"
category: Finance
icon: assets/icons/
extraFiles:
- from: "bin/linux/ckb"
to: "bin/ckb"
- from: "bin/linux/ckb-light-client"
to: "bin/ckb-light-client"
- from: "light/ckb_light_testnet.toml"
to: "light/ckb_light_testnet.toml"
- from: "light/ckb_light_mainnet.toml"
to: "light/ckb_light_mainnet.toml"
target:
- AppImage