Skip to content

Commit e22c685

Browse files
committed
Fix hyperlinks not opening
1 parent 94341e1 commit e22c685

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CommunityBugFixCollection/AnyProtocolHyperlinks.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ private static bool HyperlinkOpenDialogOpenPrefix(HyperlinkOpenDialog __instance
2727
if (__instance.URL.Value is not null)
2828
{
2929
Logger.Debug(() => $"Opening Hyperlink: {__instance.URL.Value}");
30-
__instance.RunInBackground(() => Process.Start(__instance.URL.Value.ToString()));
30+
__instance.RunInBackground(() => Process.Start(new ProcessStartInfo(__instance.URL.Value.ToString()) { UseShellExecute = true }));
3131
}
3232

3333
__instance.Slot.Destroy();

0 commit comments

Comments
 (0)