Remove standalone capture debug helpers
This commit is contained in:
+4
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user