Restored headless mode in Devtools extensions
This commit is contained in:
parent
f3fbe04409
commit
0eddb10ff3
@ -40,7 +40,7 @@ namespace
|
|||||||
chromePath,
|
chromePath,
|
||||||
std::filesystem::current_path().wstring()
|
std::filesystem::current_path().wstring()
|
||||||
);
|
);
|
||||||
args += headless ? L" --window-size=1920,1080 --headless" : L" --window-size=850,900";
|
args += headless ? L" --window-size=1920,1080 --headless=new" : L" --window-size=850,900";
|
||||||
DWORD exitCode = 0;
|
DWORD exitCode = 0;
|
||||||
STARTUPINFOW DUMMY = { sizeof(DUMMY) };
|
STARTUPINFOW DUMMY = { sizeof(DUMMY) };
|
||||||
PROCESS_INFORMATION processInfo = {};
|
PROCESS_INFORMATION processInfo = {};
|
||||||
|
Loading…
Reference in New Issue
Block a user