version must be string

auto-update
Zlatin Balevsky 2022-02-22 07:32:59 +00:00
parent 9ee70f384c
commit adca41ec27
No known key found for this signature in database
GPG Key ID: A72832072D525E41
1 changed files with 2 additions and 1 deletions

View File

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