Update SharpZipLib to 1.1.0.

The default code page has been changed to UTF8
so our workarounds are no longer needed.
This commit is contained in:
Paul Chote
2019-03-30 15:46:05 +00:00
committed by Oliver Brakmann
parent 9cbf08201f
commit f69c6ab3fb
7 changed files with 9 additions and 55 deletions

View File

@@ -15,6 +15,7 @@ using System.ComponentModel;
using System.IO;
using System.Net;
using System.Text;
using ICSharpCode.SharpZipLib.Zip;
using OpenRA.Primitives;
using OpenRA.Support;
using OpenRA.Widgets;
@@ -144,7 +145,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
try
{
using (var stream = File.OpenRead(file))
using (var z = ZipFileHelper.Create(stream))
using (var z = new ZipFile(stream))
{
foreach (var kv in download.Extract)
{