diff --git a/src/UI/About.xaml.cs b/src/UI/About.xaml.cs index 204ac006..613133c5 100644 --- a/src/UI/About.xaml.cs +++ b/src/UI/About.xaml.cs @@ -26,7 +26,8 @@ namespace SourceGit.UI { /// /// private void OpenSource(object sender, RequestNavigateEventArgs e) { - Process.Start(new ProcessStartInfo("cmd", $"/c start {e.Uri.AbsoluteUri}") { CreateNoWindow = true }); + Process.Start(e.Uri.AbsoluteUri); + //Process.Start(new ProcessStartInfo("cmd", $"/c start {e.Uri.AbsoluteUri}") { CreateNoWindow = true }); e.Handled = true; } diff --git a/src/UI/UpdateAvailable.xaml.cs b/src/UI/UpdateAvailable.xaml.cs index b4ac007c..b0264a3f 100644 --- a/src/UI/UpdateAvailable.xaml.cs +++ b/src/UI/UpdateAvailable.xaml.cs @@ -32,7 +32,8 @@ namespace SourceGit.UI { /// /// private void Download(object sender, RoutedEventArgs e) { - Process.Start(new ProcessStartInfo("cmd", $"/c start https://gitee.com/sourcegit/SourceGit/releases/{tag}") { CreateNoWindow = true }); + Process.Start($"https://gitee.com/sourcegit/SourceGit/releases/{tag}"); + //Process.Start(new ProcessStartInfo("cmd", $"/c start https://gitee.com/sourcegit/SourceGit/releases/{tag}") { CreateNoWindow = true }); e.Handled = true; }