We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
$BROWSER
1 parent c91554a commit 0eade89Copy full SHA for 0eade89
src/Native/Linux.cs
@@ -63,7 +63,10 @@ public string FindTerminal(Models.ShellOrTerminal shell)
63
64
public void OpenBrowser(string url)
65
{
66
- Process.Start("xdg-open", url.Quoted());
+ var browser = Environment.GetEnvironmentVariable("BROWSER");
67
+ if (string.IsNullOrEmpty(browser))
68
+ browser = "xdg-open";
69
+ Process.Start(browser, url.Quoted());
70
}
71
72
public void OpenInFileManager(string path, bool select)
0 commit comments