Files
packages/anda/system/wine/stable/update.rhai
T
2025-05-31 13:43:39 +08:00

9 lines
256 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]}`);