Skip to content

Commit 7f68b64

Browse files
committed
Don't color version
1 parent 783202f commit 7f68b64

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

RLBotCS/Main.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77
using RLBotCS.Server.BridgeMessage;
88
using RLBotCS.Server.ServerMessage;
99

10-
#if WINDOWS
11-
WinTermColor.EnableVirtualTerminal();
12-
#endif
13-
1410
if (args.Length > 0 && args[0] == "--version")
1511
{
1612
Console.WriteLine(
17-
$"{Logging.Yellow}RLBotServer {Logging.Green}v5.beta.7.5\n"
18-
+ $"{Logging.Yellow}Bridge {Logging.Green}{BridgeVersion.Version}{Logging.Reset}\n"
19-
+ $"@ {Logging.LightBlue}https://www.rlbot.org{Logging.Reset} & {Logging.LightBlue}https://github.com/RLBot/core{Logging.Reset}"
13+
"RLBotServer v5.beta.7.5\n"
14+
+ $"Bridge {BridgeVersion.Version}\n"
15+
+ "@ https://www.rlbot.org & https://github.com/RLBot/core"
2016
);
2117
Environment.Exit(0);
2218
}
2319

20+
#if WINDOWS
21+
WinTermColor.EnableVirtualTerminal();
22+
#endif
23+
2424
var logger = Logging.GetLogger("Main");
2525

2626
int rlbotSocketsPort;

RLBotCS/ManagerTools/Logging.cs

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ namespace RLBotCS.ManagerTools;
55

66
public class Logging : ILogger
77
{
8-
public const string Grey = "\x1b[38;20m";
9-
public const string LightBlue = "\x1b[94;20m";
10-
public const string Yellow = "\x1b[33;20m";
11-
public const string Green = "\x1b[32;20m";
12-
public const string Red = "\x1b[31;20m";
13-
public const string BoldRed = "\x1b[31;1m";
14-
public const string Reset = "\x1b[0m";
8+
private const string Grey = "\x1b[38;20m";
9+
private const string LightBlue = "\x1b[94;20m";
10+
private const string Yellow = "\x1b[33;20m";
11+
private const string Green = "\x1b[32;20m";
12+
private const string Red = "\x1b[31;20m";
13+
private const string BoldRed = "\x1b[31;1m";
14+
private const string Reset = "\x1b[0m";
1515

1616
private static readonly LogLevel LoggingLevel = Environment.GetEnvironmentVariable(
1717
"RLBOT_LOG_LEVEL"

0 commit comments

Comments
 (0)