Gate MS-CAB warning behind debug to avoid confusion

This commit is contained in:
Matt Nadareski
2025-09-24 10:51:27 -04:00
parent 6cb4023498
commit 0a4fd01ede

View File

@@ -144,8 +144,8 @@ namespace SabreTools.Serialization.Wrappers
/// <inheritdoc/>
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;