Add Valetudo

This commit is contained in:
Steffen Lange 2021-03-24 11:01:11 +01:00
parent 5220555bc4
commit 91447da58f

14
modules/Valetudo.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class Valetudo extends PatchBase {
function __construct() {
parent::__construct('Sören Beye', 'Valetudo', 'https://valetudo.cloud/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/Hypfer/Valetudo/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>