From 7913140dcd0b3ac37018ab70df3231f10e640a4b Mon Sep 17 00:00:00 2001 From: Stone_Red <56473591+Stone-Red-Code@users.noreply.github.com> Date: Thu, 14 Dec 2023 09:15:23 +0100 Subject: [PATCH] Print app info when starting --- HyperbolicDownloader/Program.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/HyperbolicDownloader/Program.cs b/HyperbolicDownloader/Program.cs index d036066..b747423 100644 --- a/HyperbolicDownloader/Program.cs +++ b/HyperbolicDownloader/Program.cs @@ -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>(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]))