Remove standalone capture debug helpers

This commit is contained in:
Codex
2026-07-08 03:37:04 +00:00
parent 4cbd49c999
commit a84ceb8065
4 changed files with 4 additions and 319 deletions
+4 -1
View File
@@ -106,7 +106,10 @@ function findChromiumExecutable(): string {
.filter((entry) => entry.startsWith("chromium_headless_shell-"))
.sort()
.reverse()
.map((entry) => path.join(browsersRoot, entry, "chrome-headless-shell-linux64", "chrome-headless-shell"))
.flatMap((entry) => [
path.join(browsersRoot, entry, "chrome-linux", "headless_shell"),
path.join(browsersRoot, entry, "chrome-headless-shell-linux64", "chrome-headless-shell")
])
.find((candidate) => nodeFs.existsSync(candidate));
if (headlessShell) return headlessShell;