-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
101 lines (93 loc) · 2.49 KB
/
Copy pathelectron-builder.yml
File metadata and controls
101 lines (93 loc) · 2.49 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
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
98
99
100
101
appId: com.chatcrystal.app
productName: ChatCrystal
copyright: Copyright © 2026 Rayner Zeng
directories:
output: release
files:
- electron/dist/**/*
- electron/icon.png
- server/dist/**/*
- server/package.json
- client/dist/**/*
- shared/**/*
- package.json
- node_modules/**/*
# Exclude source / build artifacts
- "!**/*.ts"
- "!**/*.tsx"
- "!**/*.map"
- "!**/tsconfig*.json"
# Exclude node_modules bloat
- "!**/node_modules/.cache/**"
- "!**/node_modules/.bin/**"
- "!**/node_modules/.package-lock.json"
- "!**/node_modules/*/{test,tests,__tests__,docs,doc,example,examples,spec}/**"
- "!**/node_modules/*/README.md"
- "!**/node_modules/*/CHANGELOG.md"
- "!**/node_modules/*/HISTORY.md"
- "!**/node_modules/*/.travis.yml"
- "!**/node_modules/*/.eslintrc*"
- "!**/node_modules/*/.prettierrc*"
# Exclude dev-only packages (build tools, linters, bundlers)
- "!**/node_modules/typescript/**"
- "!**/node_modules/@typescript-eslint/**"
- "!**/node_modules/eslint/**"
- "!**/node_modules/@eslint/**"
- "!**/node_modules/@biomejs/**"
- "!**/node_modules/@babel/**"
- "!**/node_modules/7zip-bin/**"
- "!**/node_modules/electron/**"
- "!**/node_modules/electron-builder/**"
- "!**/node_modules/electron-winstaller/**"
- "!**/node_modules/app-builder-bin/**"
- "!**/node_modules/app-builder-lib/**"
- "!**/node_modules/dmg-builder/**"
- "!**/node_modules/concurrently/**"
- "!**/node_modules/cross-env/**"
- "!**/node_modules/wait-on/**"
- "!**/node_modules/vite/**"
- "!**/node_modules/@vitejs/**"
- "!**/node_modules/@tailwindcss/**"
- "!**/node_modules/tailwindcss/**"
- "!**/node_modules/@rolldown/**"
- "!**/node_modules/rolldown/**"
- "!**/node_modules/@tanstack/react-query-devtools/**"
- "!**/node_modules/lightningcss/**"
- "!**/node_modules/biome/**"
# Exclude project non-app files
- "!scripts/**"
- "!data/**"
- "!.env*"
- "!CLAUDE.md"
- "!README.md"
- "!LICENSE"
- "!release/**"
- "!*.md"
extraResources:
- from: node_modules/sql.js/dist/sql-wasm.wasm
to: sql-wasm.wasm
asar: true
asarUnpack:
- "**/*.node"
- "**/sql.js/**"
electronLanguages:
- en-US
- zh-CN
- zh-TW
win:
target:
- target: nsis
arch:
- x64
icon: electron/icon.ico
publish:
provider: github
owner: ZengLiangYi
repo: ChatCrystal
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
perMachine: false
createDesktopShortcut: true
createStartMenuShortcut: true
shortcutName: ChatCrystal