mirror of
https://github.com/claunia/osrepodbmgr.git
synced 2025-12-16 19:14:25 +00:00
Correct DotNetZip vs UnAr handling.
This commit is contained in:
@@ -1156,7 +1156,7 @@ namespace osrepodbmgr.Core
|
|||||||
|
|
||||||
if(Context.archiveFormat == "Zip")
|
if(Context.archiveFormat == "Zip")
|
||||||
{
|
{
|
||||||
Context.unzipWithUnAr = true;
|
Context.unzipWithUnAr = false;
|
||||||
|
|
||||||
if(Context.usableDotNetZip)
|
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
|
// 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))
|
if(ze.FileName.StartsWith("__MACOSX", StringComparison.CurrentCulture))
|
||||||
{
|
{
|
||||||
Context.unzipWithUnAr = false;
|
Context.unzipWithUnAr = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user