Skip to content

🎥 Make videos programmatically with React

ouch

Jonny Burgerff4bc204659e
diff --git a/packages/cli/src/parse-command-line.ts b/packages/cli/src/parse-command-line.ts
index 91e120c443..db60bdb238 100644
--- a/packages/cli/src/parse-command-line.ts
+++ b/packages/cli/src/parse-command-line.ts
@@ -164,10 +164,6 @@ export const parseCommandLine = () => {
Config.setChromiumIgnoreCertificateErrors(true);
}
- if (parsedCli['disable-headless']) {
- Config.setChromiumHeadlessMode(false);
- }
-
if (parsedCli['user-agent']) {
Config.setChromiumUserAgent(parsedCli['user-agent']);
}
diff --git a/packages/renderer/src/options/repro.tsx b/packages/renderer/src/options/repro.tsx
index 779d7fa35e..b584e431ae 100644
--- a/packages/renderer/src/options/repro.tsx
+++ b/packages/renderer/src/options/repro.tsx
@@ -22,7 +22,7 @@ export const reproOption = {
getValue: ({commandLine}) => {
if (commandLine[cliFlag] !== undefined) {
return {
- value: true,
+ value: commandLine[cliFlag] as boolean,
source: 'cli',
};
}