Add NormCap

This commit is contained in:
Steffen Lange 2026-01-18 13:21:41 +01:00
parent 290f770ce8
commit 451c01f22b

14
modules/NormCap.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class NormCap extends PatchBase {
function __construct() {
parent::__construct('dynobo', 'NormCap', 'https://dynobo.github.io/normcap/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/dynobo/normcap/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>