-
Notifications
You must be signed in to change notification settings - Fork 281
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
111 lines (111 loc) · 3.42 KB
/
Copy pathelectron-builder.yml
File metadata and controls
111 lines (111 loc) · 3.42 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
appId: ai.chaterm.app
productName: Chaterm
compression: maximum
directories:
buildResources: build
files:
- '!**/.vscode/*'
- '!dist/**/*'
- '!coverage/**/*'
- '!tests/**/*'
- '!test_data/**/*'
- '!docs/**/*'
- '!.spec-workflow/**/*'
- '!.claude/**/*'
- '!__mocks__/**/*'
- '!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}'
- '!{babel.config.js,playwright.config.ts}'
- '!{AGENTS.md,CLAUDE.md,CODE_OF_CONDUCT.md,CONTRIBUTING.md,CONTRIBUTING_zh.md,README_zh.md,SECURITY.md}'
- '!node_modules/**/*.ts'
- '!node_modules/**/*.map'
- '!node_modules/**/test/**'
- '!node_modules/**/tests/**'
- '!node_modules/**/docs/**'
- '!node_modules/**/documentation/**'
- '!node_modules/**/examples/**'
- '!node_modules/**/.github/**'
- '!node_modules/**/README.md'
- '!node_modules/**/readme.md'
- '!node_modules/**/CHANGELOG.md'
- '!node_modules/**/changelog.md'
- '!node_modules/**/LICENSE*'
- '!node_modules/**/license*'
- '!node_modules/**/*.d.ts'
- '!node_modules/**/*.flow'
- '!node_modules/**/.DS_Store'
- '!node_modules/**/Thumbs.db'
- '!resources/demo.mp4'
- '!resources/demo.jpg'
- '!resources/deploy.jpg'
- '!node_modules/**/webpack/**'
- '!node_modules/**/rollup/**'
- '!node_modules/**/vite/**'
- '!node_modules/**/@types/**'
- '!node_modules/monaco-editor/esm/vs/language/!(typescript|javascript|json|css|html)/**'
- '!node_modules/monaco-editor/min/vs/language/!(typescript|javascript|json|css|html)/**'
extraResources:
- from: 'src/renderer/src/assets/db/'
to: 'db/'
filter: '**/*.db'
- from: 'src/main/services/knowledgebase/'
to: 'knowledgebase/'
filter: '**/*'
- from: 'resources/update-notes.json'
to: 'update-notes.json'
- from: 'keyword-highlight.json'
to: 'keyword-highlight.json'
- from: 'resources/preinstalled-plugins/'
to: 'preinstalled-plugins/'
filter: '**/*'
- from: 'resources/rtk/'
to: 'rtk/'
filter: '**/*'
- from: 'resources/oauth_deeplink_public_key.pem'
to: 'oauth_deeplink_public_key.pem'
asarUnpack:
- resources/**
icon: resources/icon.ico
win:
executableName: Chaterm
nsis:
artifactName: ${name}-${version}-setup-${arch}.${ext}
shortcutName: ${productName}
uninstallDisplayName: ${productName}
createDesktopShortcut: always
mac:
icon: resources/icon.icns
target:
- target: dmg
arch:
- x64
- arm64
- target: zip
arch:
- x64
- arm64
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.
dmg:
artifactName: ${name}-${version}-macos-${arch}.${ext}
title: ${productName}-${version}-${arch}
linux:
target:
- AppImage
- deb
maintainer: chaterm.ai
category: Utility
artifactName: ${name}-${version}-linux-${arch}.${ext}
npmRebuild: true
publish:
provider: generic
url: https://chaterm-static.intsig.net/download/
channel: latest
electronDownload:
mirror: https://npmmirror.com/mirrors/electron/