Skip MapImages folder in packaging (#38928)
This commit is contained in:
committed by
GitHub
parent
9f65cf7a75
commit
ad3874b8cd
@@ -78,7 +78,11 @@ public static class ClientPackaging
|
||||
new[] { "Content.Client", "Content.Shared", "Content.Shared.Database" },
|
||||
cancel: cancel);
|
||||
|
||||
await RobustClientPackaging.WriteClientResources(contentDir, inputPass, cancel);
|
||||
await RobustClientPackaging.WriteClientResources(
|
||||
contentDir,
|
||||
inputPass,
|
||||
SharedPackaging.AdditionalIgnoredResources,
|
||||
cancel);
|
||||
|
||||
inputPass.InjectFinished();
|
||||
}
|
||||
|
||||
@@ -217,7 +217,11 @@ public static class ServerPackaging
|
||||
contentAssemblies,
|
||||
cancel: cancel);
|
||||
|
||||
await RobustServerPackaging.WriteServerResources(contentDir, inputPassResources, ServerContentIgnoresResources, cancel);
|
||||
await RobustServerPackaging.WriteServerResources(
|
||||
contentDir,
|
||||
inputPassResources,
|
||||
ServerContentIgnoresResources.Concat(SharedPackaging.AdditionalIgnoredResources).ToHashSet(),
|
||||
cancel);
|
||||
|
||||
if (hybridAcz)
|
||||
{
|
||||
|
||||
10
Content.Packaging/SharedPackaging.cs
Normal file
10
Content.Packaging/SharedPackaging.cs
Normal file
@@ -0,0 +1,10 @@
|
||||
namespace Content.Packaging;
|
||||
|
||||
public sealed class SharedPackaging
|
||||
{
|
||||
public static readonly IReadOnlySet<string> AdditionalIgnoredResources = new HashSet<string>
|
||||
{
|
||||
// MapRenderer outputs into Resources. Avoid these getting included in packaging.
|
||||
"MapImages",
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user