Avoid possibly incompatible ZIP extra data.
This commit is contained in:
committed by
Gustas
parent
da8eb68d9d
commit
2d0b5f5fea
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user