only print app name if verbose

This commit is contained in:
Ell 2021-10-16 22:23:49 +02:00
parent e81b162d59
commit 88856c8c2f

View file

@ -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;
}