Avoid possibly incompatible ZIP extra data.

This commit is contained in:
Matthias Mailänder
2024-07-20 22:46:49 +02:00
committed by Gustas
parent da8eb68d9d
commit 2d0b5f5fea

View File

@@ -114,6 +114,10 @@ namespace OpenRA.FileSystem
pkgStream.Position = 0;
pkg = new ZipFile(pkgStream);
Name = filename;
// Remove subfields that can break ZIP updating.
foreach (ZipEntry entry in pkg)
entry.ExtraData = null;
}
void Commit()