Skip to content

Commit

Permalink
Correctly open web pages on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
gdevic committed Feb 15, 2023
1 parent f74bf25 commit f6c3d4f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ClassHelp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ public static void Handler(string topic)
{
if (Webhelp.ContainsKey(topic))
{
Process.Start(Webhelp[topic]);
if (ClassUtils.IsMono())
Process.Start("xdg-open", Webhelp[topic]);
else
Process.Start(Webhelp[topic]);
}
else
{
Expand Down

0 comments on commit f6c3d4f

Please sign in to comment.