mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-09 02:16:55 +00:00
Handle RAR SFX by extracting the archive portion
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user