Fix check version

This commit is contained in:
Louis Lam 2022-12-05 19:17:24 +08:00
parent 8aa97635ec
commit eadf2c810a

View file

@ -25,7 +25,7 @@ exports.startInterval = () => {
let checkBeta = await setting("checkBeta");
if (checkBeta && res.data.beta) {
if (compareVersions.compare(res.data.beta, res.data.beta, ">")) {
if (compareVersions.compare(res.data.beta, res.data.slow, ">")) {
exports.latestVersion = res.data.beta;
return;
}