mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-03 01:55:00 +00:00
fix<About, Upgrade>: fix isusse reported by https://gitee.com/sourcegit/sourcegit/issues/I44GJO
This commit is contained in:
parent
43ce225af1
commit
5c4c050e94
2 changed files with 10 additions and 3 deletions
|
@ -38,9 +38,13 @@ namespace SourceGit.Views {
|
|||
}
|
||||
|
||||
private void OnRequestNavigate(object sender, System.Windows.Navigation.RequestNavigateEventArgs e) {
|
||||
#if NET48
|
||||
Process.Start(e.Uri.AbsoluteUri);
|
||||
#else
|
||||
var info = new ProcessStartInfo("cmd", $"/c start {e.Uri.AbsoluteUri}");
|
||||
info.CreateNoWindow = true;
|
||||
Process.Start(info);
|
||||
#endif
|
||||
}
|
||||
|
||||
private void Quit(object sender, RoutedEventArgs e) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue