Add openrport

This commit is contained in:
Steffen Lange 2024-02-21 17:50:28 +01:00
parent 982829883b
commit cd672a9d35

14
modules/Openrport.php Normal file
View file

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