Print app info when starting

This commit is contained in:
Stone_Red
2023-12-14 09:15:23 +01:00
parent b4a8f83fb7
commit 7913140dcd
+5
View File
@@ -4,6 +4,7 @@ using HyperbolicDownloaderApi.Networking;
using Stone_Red_Utilities.ConsoleExtentions;
using System.Reflection;
using System.Text.Json;
namespace HyperbolicDownloader;
@@ -31,6 +32,10 @@ internal static class Program
apiManager.FilesManager.AddRange(JsonSerializer.Deserialize<List<PrivateHyperFileInfo>>(filesJson) ?? new());
}
Console.WriteLine($"HyperbolicDownloader - {Assembly.GetExecutingAssembly().GetName().Version}");
ConsoleExt.WriteLine("https://github.com/Stone-Red-Code/HyperbolicDownloader", ConsoleColor.Blue);
Console.WriteLine();
InputHandler inputHandler = new InputHandler(apiManager.HostsManager, apiManager.FilesManager);
if (args.Length > 0 && File.Exists(args[0]))