remove logging, add generated side, this will be overritten with each build, supplied to stop warnings

This commit is contained in:
CWX
2025-04-15 20:59:41 +01:00
parent ddd78785fd
commit d9100412a7
2 changed files with 11 additions and 5 deletions
@@ -0,0 +1,11 @@
using SPTarkov.Server.Core.Models.Enums;
namespace SPTarkov.Server.Core.Utils;
public static partial class ProgramStatics
{
public static string? _sptVersion = "0.0.0";
public static string? _commit = "a12b34";
public static double? _buildTime = 0000000000;
public static EntryType? BuildType = EntryType.LOCAL;
}
@@ -12,11 +12,6 @@ public static partial class ProgramStatics
{
var _entryType = ProgramStatics.BuildType ?? EntryType.LOCAL;
Console.WriteLine($"Entry type: {_entryType}");
Console.WriteLine($"SPT Version: {_sptVersion}");
Console.WriteLine($"Commit: {_commit}");
Console.WriteLine($"Build time: {_buildTime}");
switch (_entryType)
{
case EntryType.RELEASE: