Files
packages/anda/system/wine/stable/update.rhai
T
Gilver 96720eae32 feat: Make WINE dep on the compat package (#4923) (#4958)
* feat: Make WINE dep on the compat package

* refactor(update.rhai): For now this is what I got

---------


(cherry picked from commit 3a4078ed58)

Signed-off-by: Gilver <rockgrub@disroot.org>
Signed-off-by: RockGrub <RockGrub@users.noreply.github.com>
2025-05-22 16:55:31 +08:00

9 lines
251 B
Plaintext

let v = [];
// Only find versions ending in .0. Stable WINE always ends in .0
for matches in find_all("[\\d.]+\\.0", get("https://dl.winehq.org/wine/source/")) {
v += matches[0].parse_float();
}
v.dedup();
v.sort();
rpm.version(v[v.len()-1]);