mirror of
https://github.com/Artikash/Textractor.git
synced 2024-12-23 08:54:12 +08:00
edge is also usable for devtools
This commit is contained in:
parent
233e75225c
commit
d97ebd4fbb
@ -93,7 +93,7 @@ namespace DevTools
|
|||||||
if (chromePath.isEmpty())
|
if (chromePath.isEmpty())
|
||||||
{
|
{
|
||||||
for (auto [_, process] : GetAllProcesses())
|
for (auto [_, process] : GetAllProcesses())
|
||||||
if (process && process->find(L"\\chrome.exe") != std::string::npos) chromePath = S(process.value());
|
if (process && (process->find(L"\\chrome.exe") != std::string::npos || process->find(L"\\msedge.exe") != std::string::npos)) chromePath = S(process.value());
|
||||||
wchar_t programFiles[MAX_PATH + 100] = {};
|
wchar_t programFiles[MAX_PATH + 100] = {};
|
||||||
for (auto folder : { CSIDL_PROGRAM_FILESX86, CSIDL_PROGRAM_FILES, CSIDL_LOCAL_APPDATA })
|
for (auto folder : { CSIDL_PROGRAM_FILESX86, CSIDL_PROGRAM_FILES, CSIDL_LOCAL_APPDATA })
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user