Files
packages/anda/misc/pokeget/update.rhai
T
madomado bbdb6510c0 feat(pokeget-rs): pull from crates.io (#3844)
* feat(pokeget-rs): pull from crates.io

* Update rust-pokeget.spec

Signed-off-by: madomado <madonuko@outlook.com>

* Refactor Pokeget, update licenses

* I THOUGHT I added the check bruh

* Packager(s)

Signed-off-by: Gilver <rockgrub@disroot.org>

---------

Signed-off-by: madomado <madonuko@outlook.com>
Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
2025-03-14 06:46:32 -05:00

9 lines
329 B
Plaintext

rpm.version(crates("pokeget"));
// pokesprites has not received an update in years but let's keep the dep commit current just in case
if rpm.changed () {
let url = `https://api.github.com/repos/talwat/pokeget-rs/contents/data`;
let json = get(url).json_arr();
let c = json[2].sha;
rpm.global("pcommit", c);
}