-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
/
Copy pathelectron-builder.yml
80 lines (70 loc) · 1.45 KB
/
electron-builder.yml
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
productName: Chatbox
appId: xyz.chatboxapp.app
asar: true
asarUnpack: "**\\*.{node,dll}"
files:
- dist
- node_modules
- package.json
afterSign: .erb/scripts/notarize.js
# releaseInfo:
# releaseNotes: See the changelog for details
mac:
notarize: false
category: public.app-category.developer-tools
target:
target: default
arch:
- arm64
- x64
type: distribution
hardenedRuntime: true
entitlements: assets/entitlements.mac.plist
entitlementsInherit: assets/entitlements.mac.plist
gatekeeperAssess: false
dmg:
contents:
- x: 130
y: 220
- x: 410
y: 220
type: link
path: /Applications
win:
target:
- target: nsis
arch:
- x64
- arm64
verifyUpdateCodeSignature: false
artifactName: ${productName}-${version}-Setup.${ext}
sign: ./custom_win_sign.js
signingHashAlgorithms:
- sha256
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
linux:
target:
- target: AppImage
arch:
- x64
- arm64
- target: deb
arch:
- x64
- arm64
category: Development
artifactName: ${productName}-${version}-${arch}.${ext}
directories:
app: release/app
buildResources: assets
output: release/build
extraResources:
- ./assets/**
publish:
- provider: s3
bucket: chatbox
endpoint: https://208624959c9d215edea0720162a740c1.r2.cloudflarestorage.com
path: /releases
channel: ${env.UPDATE_CHANNEL}