diff --git a/Elwig/Dialogs/UpdateDialog.xaml b/Elwig/Dialogs/UpdateDialog.xaml index e6d2051..570c656 100644 --- a/Elwig/Dialogs/UpdateDialog.xaml +++ b/Elwig/Dialogs/UpdateDialog.xaml @@ -9,7 +9,8 @@ - Version 0.0.0 von Elwig ist verfügbar! + Version 0.0.0 von Elwig ist verfügbar! + (Änderungen) Soll das Update heruntergeladen und installiert werden? (ca. 100 MB) Achtung: Elwig wird dabei geschlossen! diff --git a/Elwig/Dialogs/UpdateDialog.xaml.cs b/Elwig/Dialogs/UpdateDialog.xaml.cs index 2f8a1b6..84d22c9 100644 --- a/Elwig/Dialogs/UpdateDialog.xaml.cs +++ b/Elwig/Dialogs/UpdateDialog.xaml.cs @@ -5,6 +5,7 @@ using System.IO; using System.Net.Http; using System.Threading.Tasks; using System.Windows; +using System.Windows.Navigation; namespace Elwig.Dialogs { public partial class UpdateDialog : Window { @@ -43,5 +44,12 @@ namespace Elwig.Dialogs { Process.Start(fileName); } + + private void Hyperlink_RequestNavigate(object sender, RequestNavigateEventArgs e) { + Process.Start(new ProcessStartInfo { + FileName = e.Uri.ToString(), + UseShellExecute = true, + }); + } } }