forked from ThinkInAIXYZ/deepchat
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
104 lines (103 loc) · 2.56 KB
/
electron-builder.yml
File metadata and controls
104 lines (103 loc) · 2.56 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
appId: com.wefonk.deepchat
productName: DeepChat
directories:
buildResources: build
files:
- '!**/.claude/*'
- '!**/.github/*'
- '!**/.cursor/*'
- '!**/.vscode/*'
- '!src/*'
- '!test/*'
- '!docs/*'
- '!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/**/*'
extraResources:
- 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: ['**/*']
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
afterPack: scripts/afterPack.js
mac:
entitlementsInherit: build/entitlements.mac.plist
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}
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