diff --git a/N80/N80.csproj b/N80/N80.csproj index d7c0f5e..ecf9740 100644 --- a/N80/N80.csproj +++ b/N80/N80.csproj @@ -8,7 +8,7 @@ Konamiman.Nestor80.N80 AnyCPU $(VersionPrefix) - 1.1 + 1.2 diff --git a/N80/Program.cs b/N80/Program.cs index 2a9d216..2031b52 100644 --- a/N80/Program.cs +++ b/N80/Program.cs @@ -25,6 +25,8 @@ namespace Konamiman.Nestor80.N80 /// internal partial class Program { + const int PREVIEW_LEVEL = 1; + const int ERR_SUCCESS = 0; const int ERR_BAD_ARGUMENTS = 1; const int ERR_CANT_OPEN_INPUT_FILE = 2; @@ -1533,7 +1535,7 @@ private static string GetProgramVersion() while(version.EndsWith(".0") && version.Count(ch => ch is '.') > 1) { version = version[..^2]; } - return version; + return PREVIEW_LEVEL == 0 ? version : version + " preview " + PREVIEW_LEVEL; } } } \ No newline at end of file