Restored headless mode in Devtools extensions

This commit is contained in:
Blu3train 2024-01-06 10:33:11 +01:00
parent f3fbe04409
commit 0eddb10ff3

View File

@ -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 = {};