Skip to content

Commit

Permalink
feat: migrate to main branch links and adjust ferias interface
Browse files Browse the repository at this point in the history
  • Loading branch information
DorielRivalet committed Nov 6, 2022
1 parent 5a4a944 commit 9da48e2
Showing 6 changed files with 416 additions and 416 deletions.
80 changes: 40 additions & 40 deletions MHFZ_Overlay/ConfigWindow.xaml

Large diffs are not rendered by default.

358 changes: 179 additions & 179 deletions MHFZ_Overlay/ConfigWindow.xaml.cs

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions MHFZ_Overlay/DataLoader.cs
Original file line number Diff line number Diff line change
@@ -76,14 +76,14 @@ private static void OnAppRun(SemanticVersion version, IAppTools tools, bool firs
/// </summary>
private static async Task UpdateMyApp()
{
using var mgr = new UpdateManager("https://github.com/DorielRivalet/MHFZ_Overlay/releases/latest");
using var mgr = new UpdateManager("https://github.com/DorielRivalet/MHFZ_Overlay/mains/latest");
var newVersion = await mgr.UpdateApp().ConfigureAwait(false);

// optionally restart the app automatically, or ask the user if/when they want to restart
if (newVersion != null)
{
//https://stackoverflow.com/questions/14819426/how-to-create-hyperlink-in-messagebox-show#14820039
System.Windows.MessageBoxResult messageBoxResult = System.Windows.MessageBox.Show("New version available on GitHub, would you like to download?", "【MHF-Z】Overlay Update Available", System.Windows.MessageBoxButton.YesNo, System.Windows.MessageBoxImage.Asterisk, MessageBoxResult.No); if (messageBoxResult.ToString() == "Yes") { System.Diagnostics.Process.Start("https://github.com/DorielRivalet/MHFZ_Overlay/releases/latest"); }
System.Windows.MessageBoxResult messageBoxResult = System.Windows.MessageBox.Show("New version available on GitHub, would you like to download?", "【MHF-Z】Overlay Update Available", System.Windows.MessageBoxButton.YesNo, System.Windows.MessageBoxImage.Asterisk, MessageBoxResult.No); if (messageBoxResult.ToString() == "Yes") { System.Diagnostics.Process.Start("https://github.com/DorielRivalet/MHFZ_Overlay/mains/latest"); }
//UpdateManager.RestartApp();
}
}
Loading

0 comments on commit 9da48e2

Please sign in to comment.