Skip to content

Commit 3097796

Browse files
authored
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
1 parent 7c9de0a commit 3097796

File tree

1 file changed

+1
-13
lines changed

1 file changed

+1
-13
lines changed

src/lib/utils/github.ts

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -93,20 +93,8 @@ async function parseGithubRelease(githubRelease: any): Promise<ReleaseInfo> {
9393
// do nothing, bad formatting
9494
releaseInfo.invalidationReasons = ["Release invalid for unknown reasons"];
9595
}
96-
} else if (githubRelease.body.includes("<!-- requires-launcher-version:")) {
97-
// Check the current semver and compare
98-
const launcherVersion = await getVersion();
99-
const requiredMinimumVersion = githubRelease.body
100-
.split("<!-- requires-launcher-version:")[1]
101-
.split("-->")[0]
102-
.trim();
103-
if (!semver.gte(launcherVersion, requiredMinimumVersion)) {
104-
releaseInfo.invalid = true;
105-
releaseInfo.invalidationReasons = [
106-
`This version requires the launcher to be updated to atleast: ${requiredMinimumVersion}`,
107-
];
108-
}
10996
}
97+
11098
return releaseInfo;
11199
}
112100

0 commit comments

Comments
 (0)