Match updater versions by ordering and cover Wolfskin asset selection
All checks were successful
review/code-claude Approved: no blocking findings

This commit is contained in:
justinzeus 2026-10-22 16:06:09 +02:00
parent 0f7a23faa8
commit 1715041df3
4 changed files with 79 additions and 1 deletions

View file

@ -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
/**