Update product info and add banner

This commit is contained in:
Katy Coe
2020-01-26 21:42:06 +01:00
parent 8045f2cfd7
commit 248e49ead3
2 changed files with 9 additions and 2 deletions

View File

@@ -95,6 +95,13 @@ namespace Il2CppInspector
_ => 1);
private static int Run(Options options) {
// Banner
var asmInfo = FileVersionInfo.GetVersionInfo(System.Reflection.Assembly.GetEntryAssembly().Location);
Console.WriteLine(asmInfo.ProductName);
Console.WriteLine("Version " + asmInfo.ProductVersion);
Console.WriteLine(asmInfo.LegalCopyright);
Console.WriteLine("");
// Check excluded namespaces
if (options.ExcludedNamespaces.Count() == 1 && options.ExcludedNamespaces.First().ToLower() == "none")
options.ExcludedNamespaces = new List<string>();