diff --git a/Patcher/PatchClient/App.axaml.cs b/Patcher/PatchClient/App.axaml.cs index 651ae39..4b394b5 100644 --- a/Patcher/PatchClient/App.axaml.cs +++ b/Patcher/PatchClient/App.axaml.cs @@ -7,6 +7,7 @@ using ReactiveUI; using System.Reactive; using System; using System.Linq; +using System.Reflection; using PatcherUtils.Model; namespace PatchClient @@ -46,6 +47,10 @@ namespace PatchClient PatchLogger.LogInfo("Running with autoclose"); } + var version = Assembly.GetExecutingAssembly().GetName().Version; + + PatchLogger.LogInfo($"Patch Client v{version?.ToString() ?? "N/A"}"); + desktop.MainWindow = new MainWindow { DataContext = new MainWindowViewModel(autoClose, debugOutput), diff --git a/Patcher/PatchClient/PatchClient.csproj b/Patcher/PatchClient/PatchClient.csproj index 27c7599..90d23d4 100644 --- a/Patcher/PatchClient/PatchClient.csproj +++ b/Patcher/PatchClient/PatchClient.csproj @@ -4,8 +4,8 @@ net6.0 true enable - 2.10.1 - 2.10.1 + 2.10.2 + 2.10.2 diff --git a/Patcher/PatchGenerator/App.axaml.cs b/Patcher/PatchGenerator/App.axaml.cs index 0e0c1c6..eda4c00 100644 --- a/Patcher/PatchGenerator/App.axaml.cs +++ b/Patcher/PatchGenerator/App.axaml.cs @@ -7,6 +7,7 @@ using PatchGenerator.Views; using ReactiveUI; using System.Reactive; using System; +using System.Reflection; using PatcherUtils.Model; namespace PatchGenerator @@ -26,6 +27,10 @@ namespace PatchGenerator public override void OnFrameworkInitializationCompleted() { + var version = Assembly.GetExecutingAssembly().GetName().Version; + + PatchLogger.LogInfo($"Patch Generator v{version?.ToString() ?? "N/A"}"); + if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop) { desktop.Startup += Desktop_Startup; diff --git a/Patcher/PatchGenerator/PatchGenerator.csproj b/Patcher/PatchGenerator/PatchGenerator.csproj index 3116ee1..ac6becd 100644 --- a/Patcher/PatchGenerator/PatchGenerator.csproj +++ b/Patcher/PatchGenerator/PatchGenerator.csproj @@ -4,8 +4,8 @@ net6.0 true enable - 2.10.1 - 2.10.1 + 2.10.2 + 2.10.2 diff --git a/Patcher/PatchGenerator/Resources/PatchClient.exe b/Patcher/PatchGenerator/Resources/PatchClient.exe index 717dfc1..aa98b0f 100644 --- a/Patcher/PatchGenerator/Resources/PatchClient.exe +++ b/Patcher/PatchGenerator/Resources/PatchClient.exe @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a2f2315e664995795da5fc406062b3987309ec7664784cac290e5a46865d029c +oid sha256:232ada1ba713252985713bc85f12c721f9497ec367524f07c33a4ebf4d0281a4 size 102628809