Skip to content

AI-native knowledge base & Evernote/Obsidian alternative with instant sync & native MCP. Free on Cloudflare or self-hosted via Docker.

test(desktop): keep Bun on OpenClaw fixture PATH

tianma-if5f1c14d3892c
diff --git a/apps/desktop/src/main/acp-host.test.mjs b/apps/desktop/src/main/acp-host.test.mjs
index 574bb110..5cef68c1 100644
--- a/apps/desktop/src/main/acp-host.test.mjs
+++ b/apps/desktop/src/main/acp-host.test.mjs
@@ -654,7 +654,7 @@ describe("ACP stdio session", () => {
const executable = path.join(directory, "openclaw");
await writeFile(executable, await readFile(scriptPath), { mode: 0o755 });
const runtime = createAcpHostRuntime({
- pathEnv: directory,
+ pathEnv: `${directory}${path.delimiter}${path.dirname(process.execPath)}`,
home: directory,
mcpAccess: () => { throw new Error("OpenClaw must use Gateway MCP configuration"); },
});