Match updater versions by ordering and cover Wolfskin asset selection
All checks were successful
review/code-claude Approved: no blocking findings
All checks were successful
review/code-claude Approved: no blocking findings
This commit is contained in:
parent
0f7a23faa8
commit
1715041df3
4 changed files with 79 additions and 1 deletions
|
|
@ -77,7 +77,8 @@ class UpdateChecker
|
|||
): JsonObject? =
|
||||
releases
|
||||
.firstOrNull { release ->
|
||||
Version.tryFromString(release.jsonObject["name"]?.jsonPrimitive?.contentOrNull) == version
|
||||
val candidate = Version.tryFromString(release.jsonObject["name"]?.jsonPrimitive?.contentOrNull)
|
||||
candidate != null && !candidate.isGreaterThan(version) && !version.isGreaterThan(candidate)
|
||||
}?.jsonObject
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue