From 4f8f98912f966ad1226dd77ca6a64e5c9d72ef8e Mon Sep 17 00:00:00 2001 From: Matthew Carney Date: Sat, 3 Feb 2024 19:52:49 +0000 Subject: [PATCH] Added beta flag --- src/Program.cs | 2 ++ src/Utils/Helper.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Program.cs b/src/Program.cs index 17b50a7..e320654 100644 --- a/src/Program.cs +++ b/src/Program.cs @@ -13,6 +13,8 @@ internal static class Program private static LogMessageHandler? _logMessageHandler = null; private static ConsoleMessageHandler? _consoleMessageHandler = null; + public const bool BETA = false; + /// /// Main entry point of PowerPing /// Parses arguments and runs operations diff --git a/src/Utils/Helper.cs b/src/Utils/Helper.cs index 1939908..59ad420 100644 --- a/src/Utils/Helper.cs +++ b/src/Utils/Helper.cs @@ -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 {