-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
64 lines (58 loc) · 1.32 KB
/
Copy pathelectron-builder.yml
File metadata and controls
64 lines (58 loc) · 1.32 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
appId: com.suncode.app
productName: SunCode
directories:
buildResources: resources
output: release
files:
- dist-electron
- dist
extraResources:
- from: docs
to: docs
filter:
- "**/*.md"
# ===== Windows =====
win:
target:
- target: nsis
arch: [x64]
- target: portable
arch: [x64]
# icon: resources/icon.ico
# ===== macOS =====
mac:
target:
- target: dmg
arch: [arm64]
category: public.app-category.developer-tools
identity: null
# icon: resources/icon.png
# ===== Linux =====
linux:
target:
- target: AppImage
arch: [x64]
- target: deb
arch: [x64]
category: Development
maintainer: SunCode Team <suncode@users.noreply.github.com>
# icon: resources/icon.png
# ===== NSIS 安装器(Windows)=====
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
allowElevation: true
createDesktopShortcut: always
createStartMenuShortcut: true
shortcutName: SunCode
uninstallDisplayName: SunCode
# Keep user data (sessions, settings) when uninstalling.
deleteAppDataOnUninstall: false
# Embed the version in the installer filename so users can tell builds apart.
artifactName: SunCode-Setup-${version}.${ext}
# ===== 发布到 GitHub Releases =====
publish:
provider: github
owner: sunheyi6
repo: SunCode
releaseType: draft