From 88856c8c2ffb411e1c2206f5d478465e7fe5231e Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Sat, 16 Oct 2021 22:23:49 +0200 Subject: [PATCH] only print app name if verbose --- GameBundle/Program.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/GameBundle/Program.cs b/GameBundle/Program.cs index 2cb7631..5fc4a62 100644 --- a/GameBundle/Program.cs +++ b/GameBundle/Program.cs @@ -128,7 +128,8 @@ namespace GameBundle { if (!string.IsNullOrEmpty(file.Extension)) continue; if (files.Any(f => f.Extension == ".dll" && Path.GetFileNameWithoutExtension(f.Name) == file.Name)) { - Console.WriteLine($"Choosing app name {file.Name} from binary"); + if (options.Verbose) + Console.WriteLine($"Choosing app name {file.Name} from binary"); appName = file.Name; break; }