-
Notifications
You must be signed in to change notification settings - Fork 830
/
electron-builder.yaml
97 lines (86 loc) · 2.18 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
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"
- from: "report/template.zip"
to: "report/template.zip"
directories:
buildResources: resources
output: release/
app: .
files:
- "**/*"
- "!bins/**/*"
- "!.github/**/*"
- "!multibuilder/**/*"
- "!scripts/**/*"
- "!buildutil/**/*"
- "!buildHooks/**/*"
- "!build/**/*"
- "!backups/**/*"
- "!app/renderer/src/**/*"
asar: true
publish:
- provider: "generic"
url: https://yaklang.oss-cn-beijing.aliyuncs.com/yak/latest/
mac:
gatekeeperAssess: false
target:
- target: dmg
arch:
- x64
- arm64
icon: "app/assets/yakitlogo.icns"
linux:
target:
- target: AppImage
arch:
- x64
- arm64
icon: "app/assets/yakitlogo.icns"
win:
# 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
beforePack: "buildHooks/before_pack.js"
releaseInfo:
releaseName: ${version}
releaseNotes: "view github release: https://github.com/yaklang/yakit/releases"