Skip to content

Commit

Permalink
Fix open webpage
Browse files Browse the repository at this point in the history
  • Loading branch information
Natsumi-sama committed Nov 16, 2023
1 parent ab9e2e6 commit 418378e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Dotnet/AppApi/AppApi.cs
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,10 @@ public void OpenLink(string url)
if (url.StartsWith("http://") ||
url.StartsWith("https://"))
{
Process.Start(url).Close();
Process.Start(new ProcessStartInfo(url)
{
UseShellExecute = true
});
}
}

Expand Down

0 comments on commit 418378e

Please sign in to comment.