diff --git a/TrickSaber/TrickSaber.csproj b/TrickSaber/TrickSaber.csproj index 27add20..18707db 100644 --- a/TrickSaber/TrickSaber.csproj +++ b/TrickSaber/TrickSaber.csproj @@ -151,7 +151,7 @@ - + diff --git a/TrickSaber/UI/TrickSaberPlugin.cs b/TrickSaber/TrickSaberPlugin.cs similarity index 97% rename from TrickSaber/UI/TrickSaberPlugin.cs rename to TrickSaber/TrickSaberPlugin.cs index 4edd1a5..c671e90 100644 --- a/TrickSaber/UI/TrickSaberPlugin.cs +++ b/TrickSaber/TrickSaberPlugin.cs @@ -42,7 +42,7 @@ public IEnumerator CheckVersion() JSONNode releases = JSON.Parse(www.downloadHandler.text); JSONNode latestRelease = releases[0]; JSONNode jsonnode = latestRelease["tag_name"]; - string githubVerStr = (jsonnode != null) ? jsonnode.Value.Replace("-L", "") : null; + string githubVerStr = (jsonnode != null) ? jsonnode.Value : null; Version githubVer = new Version(githubVerStr); IsNewestVersion = !new Range($">{Plugin.Version}").IsSatisfied(githubVer); } diff --git a/TrickSaber/UI/TrickSaberFlowCoordinator.cs b/TrickSaber/UI/TrickSaberFlowCoordinator.cs index a647c52..c52291a 100644 --- a/TrickSaber/UI/TrickSaberFlowCoordinator.cs +++ b/TrickSaber/UI/TrickSaberFlowCoordinator.cs @@ -28,8 +28,7 @@ protected override void DidActivate(bool firstActivation, ActivationType activat { title = "Trick Settings"; showBackButton = true; - ProvideInitialViewControllers(bindingsViewController, miscViewController, thresholdViewController, - null, null); + ProvideInitialViewControllers(bindingsViewController, miscViewController, thresholdViewController); } } catch (Exception e)