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; }