Skip to content

Commit 23576c8

Browse files
committed
duplicate
1 parent 82d8a40 commit 23576c8

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/main/services/agent.ts

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -31,19 +31,10 @@ export interface TaskController {
3131
currentRunId?: string;
3232
}
3333

34-
function _getClaudeCliPath(): string {
35-
const appPath = app.getAppPath();
36-
37-
return app.isPackaged
38-
? join(`${appPath}.unpacked`, ".vite/build/cli.js")
39-
: join(appPath, ".vite/build/cli.js");
40-
}
41-
4234
function getClaudeCliPath(): string {
4335
const appPath = app.getAppPath();
44-
const isProduction = !appPath.includes("node_modules");
4536

46-
return isProduction
37+
return app.isPackaged
4738
? join(`${appPath}.unpacked`, ".vite/build/cli.js")
4839
: join(appPath, ".vite/build/cli.js");
4940
}

0 commit comments

Comments
 (0)