-
Notifications
You must be signed in to change notification settings - Fork 0
/
electron-builder.yaml
110 lines (99 loc) · 2.63 KB
/
electron-builder.yaml
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
appId: 'io.yaklang.yakit'
productName: 'Yakit'
copyright: Copyright © 2024 yaklang.io
extraFiles:
- from: "bins/scripts/auto-install-cert.zip"
to: "bins/scripts/auto-install-cert.zip"
- from: "bins/scripts/start-engine.zip"
to: "bins/scripts/start-engine.zip"
- from: "bins/flag.txt"
to: "bins/flag.txt"
- from: "bins/engine-version.txt"
to: "bins/engine-version.txt"
- from: "bins/resources"
to: "bins/resources"
filter:
- "**/*"
- "*.txt"
- from: "bins/database/"
to: "bins/database/"
filter:
- "**/*"
- "*.txt"
- "*.gzip"
- "!*.db"
- from: "LICENSE.md"
to: "LICENSE.md"
directories:
buildResources: resources
output: release/
app: .
#artifactName: ${productName}-${version}-${platform}-${arch}.${ext}
asar: true
publish:
- provider: "generic"
url: https://yaklang.oss-cn-beijing.aliyuncs.com/yak/latest/
mac:
artifactName: ${productName}-${version}-darwin-${arch}.${ext}
extraFiles:
- from: "bins/flag.darwin.txt"
to: "bins/flag.darwin.txt"
- from: "bins/yak_darwin_amd64.zip"
to: "bins/yak.zip"
- from: "report/template.zip"
to: "report/template.zip"
target:
- target: dmg
arch:
- x64
- arm64
icon: "app/assets/yakitlogo.icns"
linux:
artifactName: ${productName}-${version}-linux-amd64.${ext}
extraFiles:
- from: "bins/flag.linux.txt"
to: "bins/flag.linux.txt"
- from: "bins/yak_linux_amd64.zip"
to: "bins/yak.zip"
- from: "report/template.zip"
to: "report/template.zip"
target:
- target: AppImage
arch:
- x64
icon: "app/assets/yakitlogo.icns"
win:
artifactName: ${productName}-${version}-windows-amd64.${ext}
extraFiles:
- from: "bins/flag.windows.txt"
to: "bins/flag.windows.txt"
- from: "bins/yak_windows_amd64.zip"
to: "bins/yak.zip"
- from: "report/template.zip"
to: "report/template.zip"
# requestedExecutionLevel: requireAdministrator
target:
- target: nsis
arch:
- x64
icon: "app/assets/yakitlogo.ico"
nsis:
oneClick: false
perMachine: false
deleteAppDataOnUninstall: true
allowToChangeInstallationDirectory: true
installerIcon: app/assets/yakitlogo.ico
uninstallerIcon: app/assets/yakitlogo.ico
unicode: true
include: build/yakit_build.nsh
license: LICENSE.md
warningsAsErrors: false
createDesktopShortcut: false
createStartMenuShortcut: true
#publish:
# - provider: generic
# url: https://update.electron-builder.com
# channel: latest
releaseInfo:
releaseName: ${version}
releaseNotes: "view github release: https://github.com/yaklang/yakit/releases"