Skip to content

Commit 0c62ad1

Browse files
Fixes using Dev Tools with Chrome on Windows. Closes #468 (#477)
1 parent 5172ef8 commit 0c62ad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dev-proxy-plugins/Inspection/DevToolsPlugin.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ private string GetChromiumProcessName(DevToolsPluginConfiguration configuration)
6363
{
6464
case PreferredBrowser.Chrome:
6565
return RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
66-
? "chrome.exe"
66+
? Environment.ExpandEnvironmentVariables(@"%ProgramFiles%\Google\Chrome\Application\chrome.exe")
6767
: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome";
6868
case PreferredBrowser.EdgeDev:
6969
return RuntimeInformation.IsOSPlatform(OSPlatform.Windows)

0 commit comments

Comments
 (0)