diff --git a/SPTInstaller/Installer Tasks/ReleaseCheckTask.cs b/SPTInstaller/Installer Tasks/ReleaseCheckTask.cs index 926a812..0f0919d 100644 --- a/SPTInstaller/Installer Tasks/ReleaseCheckTask.cs +++ b/SPTInstaller/Installer Tasks/ReleaseCheckTask.cs @@ -65,12 +65,7 @@ public class ReleaseCheckTask : InstallerTaskBase _data.PatchNeeded = patchNeedCheck; - string status = $"Current Release: {latestAkiVersion}"; - - if (_data.PatchNeeded) - { - status += " - Patch Available"; - } + string status = $"Current Release: {latestAkiVersion} - {(_data.PatchNeeded ? "Patch Available" : "No Patch Needed")}"; SetStatus(null, status); diff --git a/SPTInstaller/SPTInstaller.csproj b/SPTInstaller/SPTInstaller.csproj index 2893b8b..32b3b7b 100644 --- a/SPTInstaller/SPTInstaller.csproj +++ b/SPTInstaller/SPTInstaller.csproj @@ -9,8 +9,8 @@ icon.ico Assets\icon.ico Debug;Release;TEST - 2.6 - 2.6 + 2.7 + 2.7 diff --git a/SPTInstaller/ViewModels/MainWindowViewModel.cs b/SPTInstaller/ViewModels/MainWindowViewModel.cs index e66ee14..4aa3aa6 100644 --- a/SPTInstaller/ViewModels/MainWindowViewModel.cs +++ b/SPTInstaller/ViewModels/MainWindowViewModel.cs @@ -3,6 +3,7 @@ using Gitea.Client; using ReactiveUI; using Serilog; using SPTInstaller.Models; +using System.Globalization; using System.Reflection; using System.Threading.Tasks; @@ -32,6 +33,10 @@ public class MainWindowViewModel : ReactiveObject, IActivatableViewModel, IScree Log.Information($"========= {Title} Started ========="); Log.Information(Environment.OSVersion.VersionString); + var uiCulture= CultureInfo.InstalledUICulture; + + Log.Information("System Language: {iso} - {name}", uiCulture.TwoLetterISOLanguageName, uiCulture.DisplayName); + Task.Run(async () => { await UpdateInfo.CheckForUpdates(version); diff --git a/SPTInstaller/ViewModels/PreChecksViewModel.cs b/SPTInstaller/ViewModels/PreChecksViewModel.cs index 97793fe..e307045 100644 --- a/SPTInstaller/ViewModels/PreChecksViewModel.cs +++ b/SPTInstaller/ViewModels/PreChecksViewModel.cs @@ -51,6 +51,8 @@ public class PreChecksViewModel : ViewModelBase data.TargetInstallPath = Environment.CurrentDirectory; InstallPath = data.TargetInstallPath; + Log.Information($"Install Path: {FileHelper.GetRedactedPath(InstallPath)}"); + StartInstallCommand = ReactiveCommand.Create(() => { dismissUpdateCard?.Invoke(); diff --git a/SPTInstaller/Views/PreChecksView.axaml b/SPTInstaller/Views/PreChecksView.axaml index ace3912..51d1241 100644 --- a/SPTInstaller/Views/PreChecksView.axaml +++ b/SPTInstaller/Views/PreChecksView.axaml @@ -11,10 +11,10 @@