mirror of
https://github.com/Stone-Red-Code/HyperbolicDownloader.git
synced 2026-09-04 09:06:10 +02:00
Print app info when starting
This commit is contained in:
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user