-
Notifications
You must be signed in to change notification settings - Fork 700
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
55 lines (49 loc) · 1.15 KB
/
electron-builder.yml
File metadata and controls
55 lines (49 loc) · 1.15 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
appId: com.manju2026.moyin-creator
productName: 魔因漫创
directories:
buildResources: build
output: release/build
files:
- out/**/*
- package.json
# Desktop-only packaging guard: exclude web/image-toolchain heavy deps
- "!node_modules/next/**"
- "!node_modules/@next/**"
- "!node_modules/sharp/**"
- "!node_modules/@img/**"
extraResources:
- from: demo-data
to: demo-data
filter:
- "**/*"
asar: true
asarUnpack:
- "**/*.node"
# 图标配置
icon: build/icon.ico
mac:
icon: build/icon.icns
artifactName: ${name}-${version}-${arch}-mac.${ext}
target:
- dmg
- zip
win:
executableName: moyin-creator
icon: build/icon.ico
forceCodeSigning: false
target:
- target: nsis
arch:
- x64
# NSIS 安装包配置
nsis:
artifactName: ${name}-${version}-setup.${ext}
shortcutName: 魔因漫创
uninstallDisplayName: ${productName}
createDesktopShortcut: always
createStartMenuShortcut: true
oneClick: false
allowToChangeInstallationDirectory: true
installerIcon: build/icon.ico
uninstallerIcon: build/icon.ico
installerHeaderIcon: build/icon.ico