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
This commit is contained in:
parent
e863725cb4
commit
1b7fc3a4fe
|
|
@ -25,6 +25,12 @@ public static class ServerPackaging
|
|||
new PlatformReg("freebsd-x64", "FreeBSD", false),
|
||||
};
|
||||
|
||||
private static IReadOnlySet<string> ServerContentIgnoresResources { get; } = new HashSet<string>
|
||||
{
|
||||
"ServerInfo",
|
||||
"Changelog",
|
||||
};
|
||||
|
||||
private static List<string> 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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue