changelog & release workflow refactor

This commit is contained in:
Gurge44 committed 2026-09-29 21:44:21 +02:00
1 parent 5563848ad6
commit 9d7286dcca
34 files changed
+8120 -44

No files matched your search

+3
View File
@@ -576,6 +576,7 @@ public static class GameStates
Modded,
Niko,
AOU,
GG,
Local,
Custom
}
@@ -611,6 +612,7 @@ public static class GameStates
"MEU" or "MAS" or "MNA" => ServerType.Modded,
_ when regionName.Contains("Niko", StringComparison.OrdinalIgnoreCase) => ServerType.Niko,
_ when regionName.StartsWith("AOU", StringComparison.OrdinalIgnoreCase) => ServerType.AOU,
_ when regionName.StartsWith("GG", StringComparison.OrdinalIgnoreCase) => ServerType.GG,
_ => ServerType.Custom
};
}
@@ -630,6 +632,7 @@ public static class GameStates
"MEU" or "MAS" or "MNA" => ServerType.Modded,
_ when regionName.Contains("Niko", StringComparison.OrdinalIgnoreCase) => ServerType.Niko,
_ when regionName.StartsWith("AOU", StringComparison.OrdinalIgnoreCase) => ServerType.AOU,
_ when regionName.StartsWith("GG", StringComparison.OrdinalIgnoreCase) => ServerType.GG,
_ => ServerType.Custom
};
}
+11 -1
View File
@@ -5066,7 +5066,7 @@ public static class Utils
return name;
}
if (region.PingServer.EndsWith("among.us", StringComparison.Ordinal))
if (region.PingServer.EndsWith(".among.us", StringComparison.Ordinal))
{
// Official server
name = name switch
@@ -5109,6 +5109,16 @@ public static class Utils
return name;
}
if (ip.Contains("gurge44.eu"))
{
if (ip.Contains("play-hu"))
name = "GG-HU";
else if (ip.Contains("play-us"))
name = "GG-US";
return name;
}
if (name.Contains("Niko", StringComparison.OrdinalIgnoreCase))
name = name.Replace("233(", "-").Replace("233 (", "-").TrimEnd(')');