fix reading of beta.version

auto-update
Zlatin Balevsky 2022-02-21 06:51:09 +00:00
parent e0a843350f
commit 29b8b81a1e
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 1 additions and 2 deletions

View File

@ -172,8 +172,7 @@ class UpdateClient {
}
int myBeta = Integer.parseInt(beta)
int updateBeta = Integer.parseInt(payload.version)
if (myBeta >= updateBeta) {
if (myBeta >= payload.version) {
log.info("no new beta version available")
return
}