-
Notifications
You must be signed in to change notification settings - Fork 735
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
145 lines (144 loc) 路 3.71 KB
/
Copy pathelectron-builder.yml
File metadata and controls
145 lines (144 loc) 路 3.71 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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
appId: com.wefonk.deepchat
productName: DeepChat
directories:
buildResources: build
files:
- '!**/.claude/*'
- '!**/.github/*'
- '!**/.cursor/*'
- '!**/.vscode/*'
- '!src/*'
- '!test/*'
- '!vendor/**'
- '!docs/*'
- '!plugins/**'
- '!out/main/lightOcrHelper.js'
- '!out/cli/**'
- '!keys/*'
- '!scripts/*'
- '!.github/*'
- '!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.app.json}'
- '!electron-builder.yml'
- '!test/*'
- '!*.config.ts'
- '!*.config.js'
- '!**/{LICENSE,LICENSE.txt,*.LICENSE.txt,NOTICE.txt,README.md,CHANGELOG.md,CONTRIBUTING.md,CONTRIBUTING.zh.md,README.zh.md,README.jp.md}'
- '!**/{.DS_Store,Thumbs.db}'
- '!*.md'
asarUnpack:
- '**/node_modules/sharp/**/*'
- '**/node_modules/@img/**/*'
- '**/node_modules/@ff-labs/fff-node/**/*'
- '**/node_modules/@ff-labs/fff-bin-*/**/*'
- '**/node_modules/opendal/**/*'
- '**/node_modules/@opendal/**/*'
- '**/node_modules/ffi-rs/**/*'
- '**/node_modules/@yuuang/ffi-rs-*/**/*'
- '**/node_modules/@parcel/watcher/**/*'
- '**/node_modules/@parcel/watcher-*/**/*'
- '**/node_modules/@arcships/light-ocr*/**/*'
- '**/node_modules/@zerob13/nativekit/prebuilds/**/*'
extraResources:
- from: ./out/cli/
to: app.asar.unpacked/cli
filter: ['deepchat', 'deepchat.cmd', 'deepchat.mjs']
- from: ./runtime/
to: app.asar.unpacked/runtime
filter: ['**/*']
- from: ./resources/cdn/
to: app.asar.unpacked/resources/cdn
filter: ['**/*']
- from: ./resources/skills/
to: app.asar.unpacked/resources/skills
filter: ['**/*']
- from: ./build/bundled-plugins/
to: app.asar.unpacked/plugins
filter: ['**/*.dcplugin']
electronLanguages:
- zh-CN
- zh-TW
- zh-HK
- en-US
- ja-JP
- ko-KR
- fr-FR
- ru-RU
- ja
- ru
- zh_CN
- zh_TW
- zh_HK
- en
- ko
- fr
- fa-IR
- fa
- pt-BR
- pt
- da-DK
- da
- he-IL
- he
win:
executableName: DeepChat
nsis:
artifactName: ${name}-${version}-windows-${arch}.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
allowToChangeInstallationDirectory: true
oneClick: false
include: build/nsis-installer.nsh
afterSign: scripts/notarize.js
artifactBuildCompleted: scripts/notarize-dmg.js
afterPack: scripts/afterPack.js
mac:
signIgnore:
- '/Contents/Helpers/DeepChat Computer Use[.]app(?:/|$)'
entitlementsInherit: build/entitlements.mac.plist
extraFiles:
- from: ./build/managed-helpers/
to: Helpers
filter: ['**/*']
extendInfo:
- NSCameraUsageDescription: Application requests access to the device's camera.
- NSMicrophoneUsageDescription: Application requests access to the device's microphone.
- NSDocumentsFolderUsageDescription: Application requests access to the user's Documents folder.
- NSDownloadsFolderUsageDescription: Application requests access to the user's Downloads folder.
gatekeeperAssess: false
category: public.app-category.utilities
target:
- target: dmg
- target: zip
artifactName: ${name}-${version}-mac-${arch}.${ext}
dmg:
background: build/dmg-background.png
iconSize: 96
iconTextSize: 13
contents:
- x: 157
y: 213
type: file
- x: 507
y: 213
type: link
path: /Applications
sign: true
writeUpdateInfo: false
linux:
target:
- AppImage
- tar.gz
maintainer: ThinkInAIXYZ
category: Utility
artifactName: ${name}-${version}-linux-${arch}.${ext}
mimeTypes:
- x-scheme-handler/deepchat
npmRebuild: true
publish:
provider: github
owner: ThinkInAIXYZ
repo: deepchat