Devtools extensions: chrome user data cache error if there are spaces in path

This commit is contained in:
Blu3train 2022-04-26 00:13:01 +02:00 committed by Akash Mozumdar
parent 97f2bc6304
commit 5eaafbe81c

View File

@ -36,7 +36,7 @@ namespace
if (process) DevTools::Close();
auto args = FormatString(
L"%s --proxy-server=direct:// --disable-extensions --disable-gpu --user-data-dir=%s\\devtoolscache --remote-debugging-port=9222",
L"%s --proxy-server=direct:// --disable-extensions --disable-gpu --user-data-dir=\"%s\\devtoolscache\" --remote-debugging-port=9222",
chromePath,
std::filesystem::current_path().wstring()
);