From 1b7fc3a4fe1288b6087efd8fc26cca4577bbe774 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) {