From 0a4fd01ede60b4153069264a600647af2752f357 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Wed, 24 Sep 2025 10:51:27 -0400 Subject: [PATCH] Gate MS-CAB warning behind debug to avoid confusion --- .../Wrappers/MicrosoftCabinet.Extraction.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SabreTools.Serialization/Wrappers/MicrosoftCabinet.Extraction.cs b/SabreTools.Serialization/Wrappers/MicrosoftCabinet.Extraction.cs index fc0cf1ee..7eb817c0 100644 --- a/SabreTools.Serialization/Wrappers/MicrosoftCabinet.Extraction.cs +++ b/SabreTools.Serialization/Wrappers/MicrosoftCabinet.Extraction.cs @@ -144,8 +144,8 @@ namespace SabreTools.Serialization.Wrappers /// public bool Extract(string outputDirectory, bool includeDebug) { - // Display warning - Console.WriteLine("WARNING: LZX and Quantum compression schemes are not supported so some files may be skipped!"); + // Display warning in debug runs + if (includeDebug) Console.WriteLine("WARNING: LZX and Quantum compression schemes are not supported so some files may be skipped!"); // Open the full set if possible var cabinet = this;