From 0daccbf457a31bd8ebc2a0ebbce67a89fac9e2e0 Mon Sep 17 00:00:00 2001 From: Myra Date: Thu, 4 Sep 2025 18:38:41 +0200 Subject: [PATCH] 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 --- Content.Packaging/ServerPackaging.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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) { -- 2.51.2