-
Notifications
You must be signed in to change notification settings - Fork 122
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
67 lines (57 loc) · 1.29 KB
/
Copy pathelectron-builder.yml
File metadata and controls
67 lines (57 loc) · 1.29 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
appId: com.ccviewer.app
productName: CC Viewer
copyright: Copyright © 2026
directories:
output: electron-dist
files:
- dist/**/*
- server.js
- cli.js
- findcc.js
- interceptor.js
- server/**/*
- src/utils/**/*
- plugins/**/*
- concepts/**/*
- ultraAgents/**/*
- electron/**/*
- package.json
- "!node_modules/**/*.md"
- "!node_modules/**/*.ts"
- "!node_modules/**/test/**"
- "!node_modules/**/tests/**"
- "!node_modules/**/.github/**"
extraMetadata:
main: electron/main.js
afterSign: build/notarize.js
mac:
category: public.app-category.developer-tools
target:
- dmg
- zip
icon: build/icon.icns
hardenedRuntime: true
gatekeeperAssess: false
entitlements: build/entitlements.mac.plist
entitlementsInherit: build/entitlements.mac.plist
# 签名配置 - 使用环境变量
# CSC_LINK: 指向 .p12 证书文件的路径
# CSC_KEY_PASSWORD: .p12 证书的密码
# APPLE_ID: 你的 Apple ID 邮箱
# APPLE_APP_SPECIFIC_PASSWORD: App-specific 密码
# APPLE_TEAM_ID: 你的 Team ID
win:
target:
- nsis
icon: build/icon.png
linux:
target:
- AppImage
icon: build/icon.png
category: Development
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
asar: false
npmRebuild: true
buildDependenciesFromSource: false