From 5f1c14d3892cd9fc9057571ffd8d0cf1203dae8a Mon Sep 17 00:00:00 2001 From: tianma-if Date: Thu, 1 Oct 2026 12:56:48 +0800 Subject: [PATCH] test(desktop): keep Bun on OpenClaw fixture PATH --- apps/desktop/src/main/acp-host.test.mjs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }, });