remove logging, add generated side, this will be overritten with each build, supplied to stop warnings
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user