mirror of
https://github.com/wega-team/ss14-wega.git
synced 2026-02-14 19:30:01 +01:00
Fix Content.Packaging doesn't include secrets into a final server package (#3502)
This commit is contained in:
@@ -235,15 +235,13 @@ public static class ServerPackaging
|
||||
var depsContentExclusive = depsContent.Except(depsRobust).ToHashSet();
|
||||
|
||||
// Remove .dll suffix and apply filtering.
|
||||
var names = depsContentExclusive.Select(p => p[..^4]).Where(p => !ServerNotExtraAssemblies.Any(p.StartsWith));
|
||||
var names = depsContentExclusive.Select(p => p[..^4]).Where(p => !ServerNotExtraAssemblies.Any(p.StartsWith)).ToList();
|
||||
|
||||
// Corvax-Secrets-Start
|
||||
names.Append("Content.Corvax.Interfaces.Shared");
|
||||
names.Append("Content.Corvax.Interfaces.Server");
|
||||
if (UseSecrets)
|
||||
{
|
||||
names.Append("Content.Corvax.Shared");
|
||||
names.Append("Content.Corvax.Server");
|
||||
names.Add("Content.Corvax.Shared");
|
||||
names.Add("Content.Corvax.Server");
|
||||
}
|
||||
// Corvax-Secrets-End
|
||||
|
||||
|
||||
Reference in New Issue
Block a user