Skip to content

Commit

Permalink
Added version to console output of web client
Browse files Browse the repository at this point in the history
Closes #1046
  • Loading branch information
openbullet committed Jul 7, 2024
1 parent 15f57a0 commit 37f265e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion OpenBullet2.Web/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -266,15 +266,18 @@
);

var obSettings = app.Services.GetRequiredService<OpenBulletSettingsService>().Settings;
var updateService = app.Services.GetRequiredService<IUpdateService>();

Console.ForegroundColor = ConsoleColor.White;
Console.WriteLine("""
Console.WriteLine($"""
____ ____ ____ __ ___
/ __ \____ ___ ____ / __ )__ __/ / /__ / /_ |__ \
/ / / / __ \/ _ \/ __ \/ __ / / / / / / _ \/ __/ __/ /
/ /_/ / /_/ / __/ / / / /_/ / /_/ / / / __/ /_ / __/
\____/ .___/\___/_/ /_/_____/\__,_/_/_/\___/\__/ /____/
/_/
v{updateService.CurrentVersion} [{updateService.CurrentVersionType}]
""");
Console.ForegroundColor = ConsoleColor.Red;
Console.WriteLine("""
Expand Down

0 comments on commit 37f265e

Please sign in to comment.