Skip to content

Commit 83a4bb3

Browse files
committed
Fix CI config to include full build settings
- Add productName: 1Code (was defaulting to package name) - Add all necessary build settings (files, extraResources, asar, dmg) - This ensures CI builds match the official build output
1 parent 4b875ea commit 83a4bb3

File tree

1 file changed

+51
-2
lines changed

1 file changed

+51
-2
lines changed

electron-builder.ci.yml

Lines changed: 51 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,60 @@
11
# electron-builder config for CI builds (no code signing)
22
# Used by GitHub Actions for self-hosted fork builds
3-
# Extends the base config in package.json
43

5-
extends: null
4+
productName: 1Code
5+
appId: dev.21st.agents
66

77
directories:
8+
buildResources: build
89
output: release
910

11+
files:
12+
- out/**/*
13+
14+
extraResources:
15+
- from: drizzle
16+
to: migrations
17+
- from: resources/bin/${platform}-${arch}
18+
to: bin
19+
filter:
20+
- "**/*"
21+
- from: resources/bin/VERSION
22+
to: bin/VERSION
23+
24+
asar: true
25+
asarUnpack:
26+
- node_modules/better-sqlite3/**/*
27+
- node_modules/node-pty/**/*
28+
- node_modules/@anthropic-ai/claude-agent-sdk/**/*
29+
1030
mac:
1131
identity: null
32+
category: public.app-category.developer-tools
33+
icon: build/icon.icns
34+
hardenedRuntime: true
35+
gatekeeperAssess: false
36+
entitlements: build/entitlements.mac.plist
37+
entitlementsInherit: build/entitlements.mac.plist
38+
target:
39+
- target: dmg
40+
arch:
41+
- arm64
42+
- x64
43+
- target: zip
44+
arch:
45+
- arm64
46+
- x64
47+
48+
dmg:
49+
window:
50+
width: 540
51+
height: 380
52+
contents:
53+
- x: 140
54+
y: 150
55+
type: file
56+
- x: 400
57+
y: 150
58+
type: link
59+
path: /Applications
60+
iconSize: 80

0 commit comments

Comments
 (0)