From 3097796b3fdf6fa4888e4db0cb5a979c47b6c5c7 Mon Sep 17 00:00:00 2001 From: Tyler Wilding Date: Sun, 8 Sep 2024 01:49:13 -0400 Subject: [PATCH] versions: remove launcher version check (#555) For posterity, 0.2.0 required atleast launcher 2.3.3 Fixes #369 Upon reflection, this is likely overkill as the check hasn't been properly maintained for over a year and there's been no related issues. Just remove it --- src/lib/utils/github.ts | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/src/lib/utils/github.ts b/src/lib/utils/github.ts index e3e32a0..7d43101 100644 --- a/src/lib/utils/github.ts +++ b/src/lib/utils/github.ts @@ -93,20 +93,8 @@ async function parseGithubRelease(githubRelease: any): Promise { // do nothing, bad formatting releaseInfo.invalidationReasons = ["Release invalid for unknown reasons"]; } - } else if (githubRelease.body.includes("")[0] - .trim(); - if (!semver.gte(launcherVersion, requiredMinimumVersion)) { - releaseInfo.invalid = true; - releaseInfo.invalidationReasons = [ - `This version requires the launcher to be updated to atleast: ${requiredMinimumVersion}`, - ]; - } } + return releaseInfo; }