-
Notifications
You must be signed in to change notification settings - Fork 56
/
electron-builder.yml
61 lines (61 loc) · 1.7 KB
/
electron-builder.yml
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
appId: net.XianYun.EServer
productName: EServer
files:
- '!**/.vscode/*'
- '!src/*'
- '!electron.vite.config.{js,ts,mjs,cjs}'
- '!{.eslintignore,.eslintrc.cjs,.prettierignore,.prettierrc.yaml,dev-app-update.yml,CHANGELOG.md,README.md}'
- '!{.env,.env.*,.npmrc,pnpm-lock.yaml}'
- '!{tsconfig.json,tsconfig.node.json,tsconfig.web.json}'
- '!extra/*'
- '!screenshots/*'
mac:
target:
- target: dmg
arch:
- x64
- arm64
extraFiles:
- from: ./extra/darwin/Core/Library/
to: ./Core/Library/
- from: ./extra/darwin/Core/config/
to: ./Core/config/
- from: ./extra/darwin/Core/initFiles/
to: ./Core/initFiles/
- from: ./extra/darwin/Core/script/
to: ./Core/script/
- from: ./extra/darwin/Core/update/
to: ./Core/update/
- from: ./extra/darwin/Core/init.txt
to: ./Core/init.txt
icon: build/icons/icon.icns
artifactName: '${productName}-${os}-${version}-${arch}.${ext}'
win:
target:
- target: zip
arch:
- x64
- target: nsis
arch:
- x64
requestedExecutionLevel: requireAdministrator
extraFiles:
- from: ./extra/win32/core/config/
to: ./core/config/
- from: ./extra/win32/core/initFiles/
to: ./core/initFiles/
- from: ./extra/win32/core/script/
to: ./core/script/
- from: ./extra/win32/core/update/
to: ./core/update/
- from: ./extra/win32/core/init.txt
to: ./core/init.txt
icon: build/icons/icon.ico
nsis:
artifactName: ${productName}-${version}-setup.${ext}
oneClick: false
perMachine: true
allowToChangeInstallationDirectory: true
include: build/installer.nsh
installerIcon: build/icons/icon.ico
uninstallerIcon: build/icons/icon.ico