-
Notifications
You must be signed in to change notification settings - Fork 841
/
Copy pathelectron-builder.yaml
87 lines (79 loc) · 2.01 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
appId: 'io.yaklang.yakit'
productName: 'Yakit'
copyright: Copyright © 2021 v1ll4n
extraFiles:
- 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"
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
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"
#publish:
# - provider: generic
# url: https://update.electron-builder.com
# channel: latest
releaseInfo:
releaseName: ${version}
releaseNotes: "view github release: https://github.com/yaklang/yakit/releases"