update logging output

This commit is contained in:
ppc
2025-01-15 11:13:52 +00:00
parent 874ba06e29
commit 13cee9a431
2 changed files with 5 additions and 2 deletions
+3
View File
@@ -1,4 +1,5 @@
using System;
using System.Reflection;
using Windows.Win32;
using Windows.Win32.Foundation;
@@ -41,6 +42,8 @@ internal static class Config
/// </summary>
public static string AimeTxtPath { get; }
public static Version ServerVersion { get; } = new(Assembly.GetExecutingAssembly().GetCustomAttribute<AssemblyFileVersionAttribute>()?.Version ?? "1.0");
internal static unsafe string ReadKey(string section, string key, uint maxLength, string @default = null)
{
// +1 for null terminator