|
|
@@ -279,8 +279,11 @@ namespace Shadowsocks.Util |
|
|
|
// hack because of this: https://github.com/dotnet/corefx/issues/10361
|
|
|
|
if (RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
|
|
|
|
{
|
|
|
|
url = url.Replace("&", "^&");
|
|
|
|
Process.Start(new ProcessStartInfo("cmd", $"/c start {url}") { CreateNoWindow = true });
|
|
|
|
Process.Start(new ProcessStartInfo(url)
|
|
|
|
{
|
|
|
|
UseShellExecute = true,
|
|
|
|
Verb = "open"
|
|
|
|
});
|
|
|
|
}
|
|
|
|
else if (RuntimeInformation.IsOSPlatform(OSPlatform.Linux))
|
|
|
|
{
|
|
|
|