From 1e09c9347df6d997872dc2a3e9f45f871e9b5cf0 Mon Sep 17 00:00:00 2001 From: factubsio <65080026+factubsio@users.noreply.github.com> Date: Wed, 22 Dec 2021 18:15:13 +0000 Subject: [PATCH] hopefully correct the version --- BlueprintExplorer/BlueprintDB.cs | 1 - BlueprintExplorer/BlueprintExplorer.csproj | 1 + BlueprintExplorer/Form1.cs | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BlueprintExplorer/BlueprintDB.cs b/BlueprintExplorer/BlueprintDB.cs index 25486eb..471e51d 100644 --- a/BlueprintExplorer/BlueprintDB.cs +++ b/BlueprintExplorer/BlueprintDB.cs @@ -91,7 +91,6 @@ public int CompareTo(GameVersion other) } - public List Available = new() { }; private readonly GameVersion LastKnown = new(1, 1, 6, 'e', 0); diff --git a/BlueprintExplorer/BlueprintExplorer.csproj b/BlueprintExplorer/BlueprintExplorer.csproj index 618c1b6..c30fdf0 100644 --- a/BlueprintExplorer/BlueprintExplorer.csproj +++ b/BlueprintExplorer/BlueprintExplorer.csproj @@ -6,6 +6,7 @@ true + 0.0.1 diff --git a/BlueprintExplorer/Form1.cs b/BlueprintExplorer/Form1.cs index a516bac..3a6e73e 100644 --- a/BlueprintExplorer/Form1.cs +++ b/BlueprintExplorer/Form1.cs @@ -120,7 +120,7 @@ public Form1() { { var json = t.Result; if (json.TryGetProperty("tag_name", out var tag)) { - long latest = 65536 + ParseVersion(tag.GetString()[1..]); + long latest = ParseVersion(tag.GetString()[1..]); if (latest > version) { AddNotification(new()