Correct DotNetZip vs UnAr handling.

This commit is contained in:
2017-05-17 06:25:39 +01:00
parent d7ebda6eda
commit 02f68d3e0d

View File

@@ -1156,7 +1156,7 @@ namespace osrepodbmgr.Core
if(Context.archiveFormat == "Zip")
{
Context.unzipWithUnAr = true;
Context.unzipWithUnAr = false;
if(Context.usableDotNetZip)
{
@@ -1166,7 +1166,7 @@ namespace osrepodbmgr.Core
// ZIP created with Mac OS X, need to be extracted with The UnArchiver to get correct ResourceFork structure
if(ze.FileName.StartsWith("__MACOSX", StringComparison.CurrentCulture))
{
Context.unzipWithUnAr = false;
Context.unzipWithUnAr = true;
break;
}
}