-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
75 lines (65 loc) · 1.86 KB
/
electron-builder.yml
File metadata and controls
75 lines (65 loc) · 1.86 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
appId: com.hermesagent.desktop
productName: Hermes Desktop
copyright: Copyright © 2026
directories:
output: release
buildResources: build
app: .
# Don't auto-prune our root node_modules; we curate `files` and `extraResources` ourselves.
buildDependenciesFromSource: false
nodeGypRebuild: false
npmRebuild: false
files:
- "dist/**/*"
- "package.json"
- "!**/node_modules/*/{CHANGELOG.md,README.md,README,readme.md,readme,LICENSE,LICENSE.txt,license,*.d.ts}"
- "!**/node_modules/.bin"
- "!**/{.DS_Store,.git,.gitignore,.eslintrc*,.prettierrc*,*.map,tsconfig.json}"
# Web UI source (built dist) and bundled Python live outside the asar
extraResources:
- from: "vendor/hermes-web-ui"
to: "webui"
filter:
- "package.json"
- "dist/**"
- "node_modules/**"
# Drop other-platform node-pty prebuilds (saves ~45MB)
- "!node_modules/node-pty/prebuilds/!(${platform}-${arch})/**"
- "!node_modules/node-pty/build/**"
- "!**/{.git,.github,docs,tests,playwright.config.ts,*.md,README*,scripts,*.map}"
- from: "resources/python/${os}-${arch}"
to: "python"
filter:
- "**/*"
asarUnpack:
- "**/*.node"
mac:
target:
- target: dmg
arch: [arm64, x64]
category: public.app-category.developer-tools
hardenedRuntime: false
gatekeeperAssess: false
identity: null
artifactName: "${productName}-${version}-${arch}.${ext}"
win:
target:
- target: nsis
arch: [x64]
artifactName: "${productName}-${version}-${arch}.${ext}"
linux:
target:
- target: AppImage
arch: [x64, arm64]
- target: deb
arch: [x64] # fpm has no arm64 binary; deb only on x64
category: Development
artifactName: "${productName}-${version}-${arch}.${ext}"
nsis:
oneClick: false
allowToChangeInstallationDirectory: true
perMachine: false
publish:
provider: github
owner: sir1st
repo: hermes-desktop