Merge pull request #22 from flowln/outdated
This commit is contained in:
commit
3a8ca61e9b
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ const versionAnalyzer: Analyzer = async (text) => {
|
|||
if (vers && vers[0]) {
|
||||
const latest = await getLatestPolyMCVersion();
|
||||
const current = vers[0].replace('PolyMC version: ', '');
|
||||
if (latest != current) {
|
||||
if (current < latest) {
|
||||
return [
|
||||
'Outdated PolyMC',
|
||||
`Your installed version is ${current}, while the newest version is ${latest}.\nPlease update, for more info see https://polymc.org/download/`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue