From f4d538717b083ff21c5fc4ca786aa9f9c063d809 Mon Sep 17 00:00:00 2001 From: Tim Kennedy Date: Mon, 29 Aug 2022 19:15:36 -0500 Subject: [PATCH] Updated application information and logging --- HWiNFOVSBViewer/HWiNFOVSBViewer.csproj | 3 +++ HWiNFOVSBViewer/MainWindow.xaml.cs | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/HWiNFOVSBViewer/HWiNFOVSBViewer.csproj b/HWiNFOVSBViewer/HWiNFOVSBViewer.csproj index e762d27..273a5a9 100644 --- a/HWiNFOVSBViewer/HWiNFOVSBViewer.csproj +++ b/HWiNFOVSBViewer/HWiNFOVSBViewer.csproj @@ -7,6 +7,9 @@ true 0.2.1.0 0.2.1 + $(AssemblyVersion) + HWiNFO VSB Viewer + HWiNFO VSB Viewer Copyright © $([System.DateTime]::UtcNow.Year) Tim Kennedy Images\H-in-blue-cloud.ico diff --git a/HWiNFOVSBViewer/MainWindow.xaml.cs b/HWiNFOVSBViewer/MainWindow.xaml.cs index 762e24e..3d4816d 100644 --- a/HWiNFOVSBViewer/MainWindow.xaml.cs +++ b/HWiNFOVSBViewer/MainWindow.xaml.cs @@ -41,9 +41,10 @@ public void ReadSettings() Title = $"{AppInfo.AppName} - {AppInfo.TitleVersion}"; // Log the version, build date and commit id - log.Info($"{AppInfo.AppName} {AppInfo.AppVersion} is starting up"); - log.Debug($"{AppInfo.AppName} Build date: {BuildInfo.BuildDateObj:f}"); - log.Debug($"{AppInfo.AppName} Commit ID: {BuildInfo.CommitIDString} "); + log.Info($"{AppInfo.AppName} ({AppInfo.AppProduct}) {AppInfo.AppVersion} is starting up"); + log.Info($"{AppInfo.AppCopyright}"); + log.Debug($"{AppInfo.AppName} Build date: {BuildInfo.BuildDateString} UTC"); + log.Debug($"{AppInfo.AppName} Commit ID: {BuildInfo.CommitIDString}"); // Log the .NET version, app framework and OS platform string version = Environment.Version.ToString();