forked from Public-Mirror/Textractor
Devtools extensions: chrome user data cache error if there are spaces in path
This commit is contained in:
parent
97f2bc6304
commit
5eaafbe81c
@ -36,7 +36,7 @@ namespace
|
|||||||
if (process) DevTools::Close();
|
if (process) DevTools::Close();
|
||||||
|
|
||||||
auto args = FormatString(
|
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,
|
chromePath,
|
||||||
std::filesystem::current_path().wstring()
|
std::filesystem::current_path().wstring()
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user