Files
roboomp 62cb7a0e62 fix(browser): honored explicit Chromium executable override
Selected PUPPETEER_EXECUTABLE_PATH before probing system browser installations so compatible headless-shell binaries remain usable by the shared daemon.

Added an isolated Windows candidate-selection regression probe.

Fixes #7601
2026-08-04 06:37:29 +00:00

8 lines
322 B
TypeScript

import { ensureChromiumExecutable } from "@oh-my-pi/pi-coding-agent/tools/browser/launch";
const platform = process.env.OMP_BROWSER_PROBE_PLATFORM;
if (platform) Object.defineProperty(process, "platform", { value: platform });
const executable = await ensureChromiumExecutable();
process.stdout.write(executable ?? "");