diff --git a/SabreTools.Serialization/Wrappers/MicrosoftCabinet.cs b/SabreTools.Serialization/Wrappers/MicrosoftCabinet.cs index 5e8a0cc6..fc74bc06 100644 --- a/SabreTools.Serialization/Wrappers/MicrosoftCabinet.cs +++ b/SabreTools.Serialization/Wrappers/MicrosoftCabinet.cs @@ -150,7 +150,7 @@ namespace SabreTools.Serialization.Wrappers // Loop through the cabinets do { - current.ExtractCabinet(filename, outDir, includeDebug); + current.Extract(filename, outDir, includeDebug); current = current.Next; } while (current?.Header != null); @@ -165,24 +165,13 @@ namespace SabreTools.Serialization.Wrappers } /// - /// Extract a cabinet to an output directory, if possible + /// Extract a cabinet file from a set to an output directory, if possible /// /// Filename for one cabinet in the set, if available /// Path to the output directory /// True to include debug data, false otherwise /// Indicates if all files were able to be extracted - /// Will read spanned folders but won't attempt to extract unrelated folders - public bool ExtractAll(string? filename, string outDir, bool includeDebug) - => ExtractCabinet(filename, outDir, includeDebug); - - /// - /// Extract a cabinet file to an output directory, if possible - /// - /// Filename for one cabinet in the set, if available - /// Path to the output directory - /// True to include debug data, false otherwise - /// Indicates if all files were able to be extracted - private bool ExtractCabinet(string? filename, string outDir, bool includeDebug) + public bool Extract(string? filename, string outDir, bool includeDebug) { // If the archive is invalid if (Folders == null || Folders.Length == 0)