From d97ebd4fbbc06b6395456e3d050b1cf348b434db Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Fri, 21 Apr 2023 16:35:19 -0400 Subject: [PATCH] edge is also usable for devtools --- extensions/devtools.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extensions/devtools.cpp b/extensions/devtools.cpp index bcf677b..08d5ba8 100644 --- a/extensions/devtools.cpp +++ b/extensions/devtools.cpp @@ -93,7 +93,7 @@ namespace DevTools if (chromePath.isEmpty()) { 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] = {}; for (auto folder : { CSIDL_PROGRAM_FILESX86, CSIDL_PROGRAM_FILES, CSIDL_LOCAL_APPDATA }) {