Skip to content

Commit c5c677b

Browse files
committed
Change app bundle ID for fork (dev.aadivar.1code)
- Changed appId from dev.21st.agents to dev.aadivar.1code - Changed URL scheme from twentyfirst-agents to aadivar-1code - This makes the fork a separate app from the official version - Fixes code signature validation errors during updates
1 parent 65a8591 commit c5c677b

6 files changed

Lines changed: 15 additions & 6 deletions

File tree

.claude/settings.local.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"permissions": {
3+
"allow": [
4+
"Bash(find:*)",
5+
"Bash(grep:*)",
6+
"Bash(ls:*)"
7+
]
8+
}
9+
}

electron-builder.ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
# Used by GitHub Actions for self-hosted fork builds
33

44
productName: 1Code
5-
appId: dev.21st.agents
5+
appId: dev.aadivar.1code
66

77
directories:
88
buildResources: build

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,14 +123,14 @@
123123
"vite": "^6.3.4"
124124
},
125125
"build": {
126-
"appId": "dev.21st.agents",
126+
"appId": "dev.aadivar.1code",
127127
"productName": "1Code",
128128
"npmRebuild": true,
129129
"protocols": [
130130
{
131131
"name": "1Code",
132132
"schemes": [
133-
"twentyfirst-agents"
133+
"aadivar-1code"
134134
]
135135
}
136136
],

src/main/auth-manager.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@ export class AuthManager {
215215
if (this.isDev) {
216216
authUrl += `&callback=${encodeURIComponent("http://localhost:21321/auth/callback")}`
217217
// Pass dev protocol so production web can use correct deep link if callback fails
218-
authUrl += `&protocol=twentyfirst-agents-dev`
218+
authUrl += `&protocol=aadivar-1code-dev`
219219
}
220220

221221
shell.openExternal(authUrl)

src/main/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ const IS_DEV = !!process.env.ELECTRON_RENDERER_URL
2626

2727
// Deep link protocol (must match package.json build.protocols.schemes)
2828
// Use different protocol in dev to avoid conflicts with production app
29-
const PROTOCOL = IS_DEV ? "twentyfirst-agents-dev" : "twentyfirst-agents"
29+
const PROTOCOL = IS_DEV ? "aadivar-1code-dev" : "aadivar-1code"
3030

3131
// Set dev mode userData path BEFORE requestSingleInstanceLock()
3232
// This ensures dev and prod have separate instance locks

src/main/lib/trpc/routers/debug.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { getAuthManager } from "../../../index"
55

66
// Protocol constant (must match main/index.ts)
77
const IS_DEV = !!process.env.ELECTRON_RENDERER_URL
8-
const PROTOCOL = IS_DEV ? "twentyfirst-agents-dev" : "twentyfirst-agents"
8+
const PROTOCOL = IS_DEV ? "aadivar-1code-dev" : "aadivar-1code"
99

1010
export const debugRouter = router({
1111
/**

0 commit comments

Comments
 (0)