Skip to content

Commit

Permalink
Fixes using Dev Tools with Chrome on Windows. Closes #468 (#477)
Browse files Browse the repository at this point in the history
  • Loading branch information
waldekmastykarz authored Jan 8, 2024
1 parent 5172ef8 commit 0c62ad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dev-proxy-plugins/Inspection/DevToolsPlugin.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ private string GetChromiumProcessName(DevToolsPluginConfiguration configuration)
{
case PreferredBrowser.Chrome:
return RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
? "chrome.exe"
? Environment.ExpandEnvironmentVariables(@"%ProgramFiles%\Google\Chrome\Application\chrome.exe")
: "/Applications/Google Chrome.app/Contents/MacOS/Google Chrome";
case PreferredBrowser.EdgeDev:
return RuntimeInformation.IsOSPlatform(OSPlatform.Windows)
Expand Down

0 comments on commit 0c62ad1

Please sign in to comment.