Repository navigation
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
124 lines (114 loc) · 2.18 KB
/
Copy pathelectron-builder.yml
File metadata and controls
124 lines (114 loc) · 2.18 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
productName: Chatbox
appId: xyz.chatboxapp.app
# Match packages/chatbox-i18n/src/languages.ts using Windows/Linux locale filenames.
electronLanguages:
- en-US
- zh-CN
- zh-TW
- ja
- ko
- ru
- de
- fr
- pt-PT
- es
- ar
- it
- sv
- nb
- tr
asar: true
asarUnpack:
- "**/*.{node,dll}"
- "**/node_modules/libsql/**"
files:
- "dist"
# - "!dist/**/*.map"
# - "!dist/**/stats.html"
- "node_modules"
- "!node_modules/@types"
- "!node_modules/undici-types"
- "package.json"
beforePack: .erb/scripts/ensure-app-deps.cjs
afterPack: .erb/scripts/after-pack.cjs
afterSign: .erb/scripts/notarize.js
# releaseInfo:
# releaseNotes: See the changelog for details
mac:
# macOS uses .lproj names; electron-builder matches them exactly.
electronLanguages:
- en
- zh_CN
- zh_TW
- ja
- ko
- ru
- de
- fr
- pt_PT
- es
- ar
- it
- sv
- nb
- tr
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}
signtoolOptions:
sign: ./custom_win_sign.js
signingHashAlgorithms:
- sha256
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
include: assets/installer.nsh
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}