From 3d0a8e4a3a7a5f848a27010f6d87dc9832f6e957 Mon Sep 17 00:00:00 2001 From: Doriel Rivalet <100863878+DorielRivalet@users.noreply.github.com> Date: Thu, 7 Sep 2023 17:40:36 -0300 Subject: [PATCH] feat(autoupdater): add restart overlay message --- MHFZ_Overlay/App.xaml.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/MHFZ_Overlay/App.xaml.cs b/MHFZ_Overlay/App.xaml.cs index e7617d20..ebb29f2d 100644 --- a/MHFZ_Overlay/App.xaml.cs +++ b/MHFZ_Overlay/App.xaml.cs @@ -65,9 +65,12 @@ public static async Task UpdateMyApp() // optionally restart the app automatically, or ask the user if/when they want to restart if (newVersion != null) { - Logger.Info(CultureInfo.InvariantCulture, "Overlay has been updated, restarting application"); + Logger.Info(CultureInfo.InvariantCulture, "Overlay has been updated, restarting application."); splashScreen.Close(TimeSpan.FromSeconds(0.1)); - MessageBox.Show("【MHF-Z】Overlay has been updated, restarting application.", "MHF-Z Overlay Update", MessageBoxButton.OK, MessageBoxImage.Information); + MessageBox.Show( +@"【MHF-Z】Overlay has been updated, restarting application. + +If after overlay startup your settings did not transfer over, try restarting the overlay again without saving or changing any settings. Alternatively, find the old settings file by going into the parent folder when clicking the settings folder option.", "MHF-Z Overlay Update", MessageBoxButton.OK, MessageBoxImage.Information); UpdateManager.RestartApp(); } else