From: Myra Date: Thu, 4 Sep 2025 16:38:41 +0000 (+0200) Subject: Stop packaging `Resources/ServerInfo` and `Resources/Changelog` on the server (#39897) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=0daccbf457a31bd8ebc2a0ebbce67a89fac9e2e0;p=space-station-14.git Stop packaging `Resources/ServerInfo` and `Resources/Changelog` on the server (#39897) * Stop packaging `Resources/ServerInfo` This is only used by the client, it is unneccery to pack into the server. Plus it keeps getting people to think that just editing the server resources will modify the guidebook even though that needs a custom dev enviroment. * Add credits too --- diff --git a/Content.Packaging/ServerPackaging.cs b/Content.Packaging/ServerPackaging.cs index 91ebc41226..a14a22ddee 100644 --- a/Content.Packaging/ServerPackaging.cs +++ b/Content.Packaging/ServerPackaging.cs @@ -25,6 +25,12 @@ public static class ServerPackaging new PlatformReg("freebsd-x64", "FreeBSD", false), }; + private static IReadOnlySet ServerContentIgnoresResources { get; } = new HashSet + { + "ServerInfo", + "Changelog", + }; + private static List PlatformRids => Platforms .Select(o => o.Rid) .ToList(); @@ -211,7 +217,7 @@ public static class ServerPackaging contentAssemblies, cancel: cancel); - await RobustServerPackaging.WriteServerResources(contentDir, inputPassResources, cancel); + await RobustServerPackaging.WriteServerResources(contentDir, inputPassResources, ServerContentIgnoresResources, cancel); if (hybridAcz) {