Add Heimdall

This commit is contained in:
Steffen Lange 2021-11-02 11:18:07 +01:00
parent 5e15270cf5
commit fdfed73d08

14
modules/Heimdall.php Normal file
View file

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