Skip to content

Commit

Permalink
Added beta flag
Browse files Browse the repository at this point in the history
  • Loading branch information
Killeroo committed Feb 3, 2024
1 parent b13e29b commit 4f8f989
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ internal static class Program
private static LogMessageHandler? _logMessageHandler = null;
private static ConsoleMessageHandler? _consoleMessageHandler = null;

public const bool BETA = false;

/// <summary>
/// Main entry point of PowerPing
/// Parses arguments and runs operations
Expand Down
2 changes: 1 addition & 1 deletion src/Utils/Helper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ public static string GetVersionString()

if (v != null)
{
version = "v" + v.Major + "." + v.Minor + "." + v.Build + " (r" + v.Revision + ") ";
version = "v" + v.Major + "." + v.Minor + "." + v.Build + " (r" + v.Revision + ") " + (Program.BETA ? "[BETA]" : "");
}
else
{
Expand Down

0 comments on commit 4f8f989

Please sign in to comment.