From 0eddb10ff353f69fc32e6e080747d4de1b3e5ed6 Mon Sep 17 00:00:00 2001 From: Blu3train Date: Sat, 6 Jan 2024 10:33:11 +0100 Subject: [PATCH] Restored headless mode in Devtools extensions --- extensions/devtools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/devtools.cpp b/extensions/devtools.cpp index 08d5ba80..13bbd4ab 100644 --- a/extensions/devtools.cpp +++ b/extensions/devtools.cpp @@ -40,7 +40,7 @@ namespace chromePath, 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; STARTUPINFOW DUMMY = { sizeof(DUMMY) }; PROCESS_INFORMATION processInfo = {};