mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 17:11:56 +00:00
fix(update): gtk4 (#464)
* fix(update): gtk4 Signed-off-by: madomado <wboy111@outlook.com> * Update update.rhai Signed-off-by: madomado <wboy111@outlook.com> --------- Signed-off-by: madomado <wboy111@outlook.com>
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
let txt = get("https://gitlab.gnome.org/api/v4/projects/665/releases/");
|
||||
let ver = txt.json_arr()[0].tag_name;
|
||||
rpm.version(ver);
|
||||
let txt = get("https://gitlab.gnome.org/api/v4/projects/665/repository/tags");
|
||||
for item in txt.json_arr() {
|
||||
if item.name.starts_with("4.") {
|
||||
rpm.version(item.name);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user