Add OpenBeken

This commit is contained in:
Steffen Lange 2023-01-28 21:12:48 +01:00
parent 3e86d284c3
commit cc1f926378

14
modules/OpenBeken.php Normal file
View file

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