Handle RAR SFX by extracting the archive portion

This commit is contained in:
Matt Nadareski
2025-08-28 22:42:15 -04:00
parent 56b71cf7fe
commit 67d51ad1d6

View File

@@ -1099,11 +1099,7 @@ namespace SabreTools.Serialization.Wrappers
var pkzipSfx = new PKZIP(_dataSource);
bool pkzip = pkzipSfx?.Extract(outputDirectory, lookForHeader: true, includeDebug) ?? false;
_dataSource.Position = 0;
var rarSfx = new RAR(_dataSource);
bool rar = rarSfx?.Extract(outputDirectory, lookForHeader: true, includeDebug) ?? false;
return cexe || overlay || resources || pkzip || rar;
return cexe || overlay || resources || pkzip;
}
/// <summary>