From 4473edf4761d46ac4c40093b43b5b6e634cefc57 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Fri, 29 Aug 2025 07:54:20 -0400 Subject: [PATCH] Comments cleanup --- ExtractionTool/Program.cs | 4 ---- SabreTools.Serialization/Wrappers/NewExecutable.cs | 1 + SabreTools.Serialization/Wrappers/PortableExecutable.cs | 1 + 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ExtractionTool/Program.cs b/ExtractionTool/Program.cs index 7f09e36c..6559529b 100644 --- a/ExtractionTool/Program.cs +++ b/ExtractionTool/Program.cs @@ -85,8 +85,6 @@ namespace ExtractionTool return; } - // TODO: When extractable wrapper types are exposed to this, use them instead of guessing - // Get the file type WrapperType ft = WrapperFactory.GetFileType(magic, extension); var wrapper = WrapperFactory.CreateWrapper(ft, stream); @@ -243,7 +241,6 @@ namespace ExtractionTool Console.WriteLine("Extracting New Executable contents"); Console.WriteLine(); - // TODO: Add Wise installer handling here nex.Extract(outputDirectory, includeDebug); } @@ -285,7 +282,6 @@ namespace ExtractionTool Console.WriteLine("Extracting Portable Executable contents"); Console.WriteLine(); - // TODO: Add Wise installer handling here pex.Extract(outputDirectory, includeDebug); } diff --git a/SabreTools.Serialization/Wrappers/NewExecutable.cs b/SabreTools.Serialization/Wrappers/NewExecutable.cs index 9150cfff..e9478c29 100644 --- a/SabreTools.Serialization/Wrappers/NewExecutable.cs +++ b/SabreTools.Serialization/Wrappers/NewExecutable.cs @@ -402,6 +402,7 @@ namespace SabreTools.Serialization.Wrappers public bool Extract(string outputDirectory, bool includeDebug) { bool overlay = ExtractFromOverlay(outputDirectory, includeDebug); + // TODO: Add Wise installer handling here return overlay; } diff --git a/SabreTools.Serialization/Wrappers/PortableExecutable.cs b/SabreTools.Serialization/Wrappers/PortableExecutable.cs index e96ede63..8e647967 100644 --- a/SabreTools.Serialization/Wrappers/PortableExecutable.cs +++ b/SabreTools.Serialization/Wrappers/PortableExecutable.cs @@ -1093,6 +1093,7 @@ namespace SabreTools.Serialization.Wrappers bool cexe = ExtractCExe(outputDirectory, includeDebug); bool overlay = ExtractFromOverlay(outputDirectory, includeDebug); bool resources = ExtractFromResources(outputDirectory, includeDebug); + // TODO: Add Wise installer handling here return cexe || overlay || resources; }