Skip to content

Commit e41830f

Browse files
JustYanniccclaude
andauthored
fix: use system claude binary in packaged Electron app (#1189)
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent da53e41 commit e41830f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

apps/server/src/provider/Layers/ClaudeAdapter.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2380,9 +2380,7 @@ function makeClaudeAdapter(options?: ClaudeAdapterLiveOptions) {
23802380
const queryOptions: ClaudeQueryOptions = {
23812381
...(input.cwd ? { cwd: input.cwd } : {}),
23822382
...(input.model ? { model: input.model } : {}),
2383-
...(providerOptions?.binaryPath
2384-
? { pathToClaudeCodeExecutable: providerOptions.binaryPath }
2385-
: {}),
2383+
pathToClaudeCodeExecutable: providerOptions?.binaryPath ?? "claude",
23862384
...(effectiveEffort ? { effort: effectiveEffort } : {}),
23872385
...(permissionMode ? { permissionMode } : {}),
23882386
...(permissionMode === "bypassPermissions"

0 commit comments

Comments
 (0)