-
Notifications
You must be signed in to change notification settings - Fork 136
Expand file tree
/
Copy pathelectron-builder.yml
More file actions
89 lines (78 loc) · 2.03 KB
/
Copy pathelectron-builder.yml
File metadata and controls
89 lines (78 loc) · 2.03 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
appId: ai.swarmclaw.desktop
productName: SwarmClaw
copyright: Copyright © 2026 SwarmClaw
directories:
output: release
buildResources: resources
extraMetadata:
main: electron-dist/main.js
afterPack: ./scripts/electron-after-pack.cjs
asar: true
npmRebuild: false
files:
- electron-dist/**/*
- package.json
- '!**/*.map'
- '!**/*.ts'
- '!**/*.md'
extraResources:
- from: .next/standalone
to: .next/standalone
filter:
- '**/*'
- '!**/*.map'
- from: resources/icon.png
to: icon.png
publish:
provider: github
owner: swarmclawai
repo: swarmclaw
releaseType: release
mac:
category: public.app-category.developer-tools
target:
- target: dmg
arch:
- arm64
- x64
- target: zip
arch:
- arm64
- x64
icon: resources/icon.icns
hardenedRuntime: true
gatekeeperAssess: false
# Developer ID signing is used when CSC_LINK/CSC_KEY_PASSWORD are available.
# electron-builder then notarizes when APPLE_* notarization credentials are
# present. Without those secrets, the afterPack hook leaves an ad-hoc
# signature so local smoke builds still produce launchable artifacts.
# Ad-hoc macOS builds can still show "damaged" after Safari quarantine:
# xattr -dr com.apple.quarantine /Applications/SwarmClaw.app
win:
target:
- target: nsis
arch:
- x64
icon: resources/icon.ico
nsis:
oneClick: false
perMachine: false
allowToChangeInstallationDirectory: true
shortcutName: SwarmClaw
linux:
target:
- target: AppImage
arch:
- x64
- target: deb
arch:
- x64
category: Development
icon: resources/icon.png
synopsis: Build and run autonomous AI agents.
maintainer: SwarmClaw <noreply@swarmclaw.ai>
vendor: SwarmClaw
# Override artifact name so the npm scope slash (@swarmclawai/) does not
# leak into the .deb output path (fpm can't create parent dirs and fails
# with "Parent directory does not exist: .../release/@swarmclawai").
artifactName: ${productName}-${version}-${arch}.${ext}