diff --git a/Libraries/SPTarkov.Server.Core/Utils/ProgramStatics.Generated.cs b/Libraries/SPTarkov.Server.Core/Utils/ProgramStatics.Generated.cs new file mode 100644 index 00000000..4be9b685 --- /dev/null +++ b/Libraries/SPTarkov.Server.Core/Utils/ProgramStatics.Generated.cs @@ -0,0 +1,15 @@ +// +// This file is automatically generated. Do not modify manually. +// Any changes made to this file will be overwritten during the build process. + +using SPTarkov.Server.Core.Models.Enums; + +namespace SPTarkov.Server.Core.Utils; + +public static partial class ProgramStatics +{ + private static string SptVersion { get; } = "4.0.0"; + private static string Commit { get; } = "a12b34"; + private static double BuildTime { get; } = 0000000000; + private static EntryType BuildType { get; } = EntryType.LOCAL; +} diff --git a/README.md b/README.md index 2b73bcf4..70e22a22 100644 --- a/README.md +++ b/README.md @@ -45,8 +45,6 @@ One of the following is required: 5. Open the `project/server-csharp.sln` file in Visual Studio or Rider 6. Run `Build > Build Solution (CTRL + SHIFT + B)` in the IDE -Note: The first build will fail as the `ProgramStatistics` class needs to be initially generated in a `PreBuild` action. The second build onward will be a passing build. - ## Development ### Commands