We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 82d8a40 commit 23576c8Copy full SHA for 23576c8
src/main/services/agent.ts
@@ -31,19 +31,10 @@ export interface TaskController {
31
currentRunId?: string;
32
}
33
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
42
function getClaudeCliPath(): string {
43
const appPath = app.getAppPath();
44
- const isProduction = !appPath.includes("node_modules");
45
46
- return isProduction
+ return app.isPackaged
47
? join(`${appPath}.unpacked`, ".vite/build/cli.js")
48
: join(appPath, ".vite/build/cli.js");
49
0 commit comments