Skip to content

Commit

Permalink
Development version 0.2.0b + auto dev-updates when running dev version
Browse files Browse the repository at this point in the history
  • Loading branch information
RagingLightning committed Sep 22, 2022
1 parent 74b29d6 commit ce2e793
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public partial class MainWindow : Window
{
internal static MainWindow INSTANCE;

private const string VERSION = "0.2.0a";
private const string VERSION = "0.2.0b";

private Thread InfoCollectorThread = new Thread(GameLiveryInfo.AutoRefresh);

Expand All @@ -37,6 +37,8 @@ public MainWindow()
AttachConsole(-1);

Config.Init("TSW3LM.json");
if (!int.TryParse(VERSION.Split('.')[^1], out int _))
Config.DevUpdates = true;

Log.AddLogFile("TSW3LM.log", Log.LogLevel.INFO);
if (Environment.GetCommandLineArgs().Contains("-debug"))
Expand Down

0 comments on commit ce2e793

Please sign in to comment.