Skip to content

Commit

Permalink
Showing 3 changed files with 12 additions and 12 deletions.
6 changes: 3 additions & 3 deletions MHFZ_Overlay/DataLoader.cs
Original file line number Diff line number Diff line change
@@ -43,7 +43,7 @@ public class DataLoader
/// <param name="tools">The tools.</param>
private static void OnAppInstall(SemanticVersion version, IAppTools tools)
{
MessageBox.Show("【MHF-Z】Overlay is now installed. Creating a shortcut.");
MessageBox.Show("【MHF-Z】Overlay is now installed. Creating a shortcut.","MHF-Z Overlay Installation",MessageBoxButton.OK,MessageBoxImage.Information);
tools.CreateShortcutForThisExe(ShortcutLocation.StartMenu | ShortcutLocation.Desktop);
}

@@ -54,7 +54,7 @@ private static void OnAppInstall(SemanticVersion version, IAppTools tools)
/// <param name="tools">The tools.</param>
private static void OnAppUninstall(SemanticVersion version, IAppTools tools)
{
MessageBox.Show("【MHF-Z】Overlay has been uninstalled. Removing shortcut.");
MessageBox.Show("【MHF-Z】Overlay has been uninstalled. Removing shortcut.", "MHF-Z Overlay Installation", MessageBoxButton.OK, MessageBoxImage.Information);
tools.RemoveShortcutForThisExe(ShortcutLocation.StartMenu | ShortcutLocation.Desktop);
}

@@ -68,7 +68,7 @@ private static void OnAppRun(SemanticVersion version, IAppTools tools, bool firs
{
tools.SetProcessAppUserModelId();
// show a welcome message when the app is first installed
if (firstRun) MessageBox.Show("【MHF-Z】Overlay is now running! Thanks for installing【MHF-Z】Overlay.\nHotkeys: Shift+F1 (Configuration) | Shift+F5 (Restart) | Shift+F6 (Close)\nPress Alt+Enter if your game resolution changed.");
if (firstRun) MessageBox.Show("【MHF-Z】Overlay is now running! Thanks for installing【MHF-Z】Overlay.\n\nHotkeys: Shift+F1 (Configuration) | Shift+F5 (Restart) | Shift+F6 (Close)\n\nPress Alt+Enter if your game resolution changed.","MHF-Z Overlay Installation",MessageBoxButton.OK,MessageBoxImage.Information);
}

/// <summary>
9 changes: 0 additions & 9 deletions MHFZ_Overlay/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
@@ -30,7 +30,6 @@
using Point = System.Windows.Point;
//using static System.Globalization.CultureInfo;


namespace MHFZ_Overlay
{
/// <summary>
@@ -341,8 +340,6 @@ private void LoadDictionaries()
}
}



//Main entry point?
/// <summary>
/// Initializes a new instance of the <see cref="MainWindow"/> class.
@@ -367,8 +364,6 @@ public MainWindow()
ReloadButton.Visibility = Visibility.Hidden;
CloseButton.Visibility = Visibility.Hidden;



////Main Loop
//Setting a random details to test the update rate of the presence
//Program.startRichPresence("");
@@ -388,7 +383,6 @@ public MainWindow()

GitHubClient client = new GitHubClient(new ProductHeaderValue("MHFZ_Overlay"));


private async Task LoadOctoKit()
{
var releases = await client.Repository.Release.GetAll("DorielRivalet", "MHFZ_Overlay");
@@ -4100,9 +4094,6 @@ private void Window_Loaded(object sender, RoutedEventArgs e)
{

}



}
}
/// <TODO>
9 changes: 9 additions & 0 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Deployment process

1. Commits to branch release
2. npm run release
3. Checkout to branch main
4. Merge release into main
5. Switch from Build to Release, Publish in Visual Studio
6. Squirrel.exe pack --packId "MHFZ_Overlay" --packVersion "x.x.x" --packDirectory "PATH\MHFZ_Overlay\MHFZ_Overlay\bin\Release\net6.0-windows\publish" --framework net6.0-x86
7. Add to GitHub Releases

0 comments on commit 6020088

Please sign in to comment.