Fix up BLEEDING_EDGE not being semver compliant

This commit is contained in:
Archangel
2025-08-08 22:47:56 +02:00
parent 59e164b740
commit f3134dec59
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -5,7 +5,7 @@
<SptCommit Condition="'$(SptCommit)' == ''">a12b34</SptCommit>
<SptBuildTime Condition="'$(SptBuildTime)' == ''">0000000000</SptBuildTime>
<SptBuildType Condition="'$(SptBuildType)' == ''">LOCAL</SptBuildType>
<!-- BuildType options - LOCAL, DEBUG, RELEASE, BLEEDING_EDGE, BLEEDING_EDGE_MODS - *must be all caps*-->
<!-- BuildType options - LOCAL, DEBUG, RELEASE, BLEEDINGEDGE, BLEEDINGEDGEMODS - *must be all caps*-->
<!-- SemVer-compliant version -->
<!-- Format: 4.0.0-LOCAL+a12b34.0000000000 -->
@@ -50,7 +50,7 @@ public class ClientLogCallbacks(
data.IllegalPluginsLoadedText = serverLocalisationService.GetText("release-illegal-plugins-loaded");
data.IllegalPluginsExceptionText = serverLocalisationService.GetText("release-illegal-plugins-exception");
data.ReleaseSummaryText = serverLocalisationService.GetText("release-summary");
data.IsBeta = ProgramStatics.ENTRY_TYPE() is EntryType.BLEEDING_EDGE or EntryType.BLEEDING_EDGE_MODS;
data.IsBeta = ProgramStatics.ENTRY_TYPE() is EntryType.BLEEDINGEDGE or EntryType.BLEEDINGEDGEMODS;
data.IsModdable = ProgramStatics.MODS();
data.IsModded = loadedMods.Count > 0;
@@ -5,6 +5,6 @@ public enum EntryType
LOCAL,
DEBUG,
RELEASE,
BLEEDING_EDGE,
BLEEDING_EDGE_MODS,
BLEEDINGEDGE,
BLEEDINGEDGEMODS,
}
@@ -17,13 +17,13 @@ public static partial class ProgramStatics
_compiled = true;
_mods = true;
break;
case EntryType.BLEEDING_EDGE:
case EntryType.BLEEDINGEDGE:
_debug = true;
_compiled = true;
_mods = false;
break;
case EntryType.DEBUG:
case EntryType.BLEEDING_EDGE_MODS:
case EntryType.BLEEDINGEDGEMODS:
_debug = true;
_compiled = true;
_mods = true;