Files
packages/anda/system/xpad-noone/kmod-common/update.rhai
T
Gilver 5b1f57030a fix(xpadneo, xone, xpad-noone): Update scripts (#3824)
* Trying just about everything to fix this oh my GOD

* Another updbranch

* Fix typo

* That file was saved??

* Merge

* Doing this just because it makes conflict fixes easier

---------

Signed-off-by: Gilver <rockgrub@disroot.org>
2025-03-09 14:41:32 +08:00

9 lines
327 B
Plaintext

rpm.global("commit", gh_commit("medusalix/xpad-noone"));
if rpm.changed() {
rpm.release();
rpm.global("commitdate", date());
let html = get(`https://raw.githubusercontent.com/medusalix/xpad-noone/refs/heads/master/dkms.conf`);
let v = find("PACKAGE_VERSION=\"([\\d.]+)\"", html, 1);
rpm.global("ver", v);
}