PatchBot/modules/OpenBeken.php
2023-01-28 21:12:48 +01:00

14 lines
379 B
PHP

<?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;
}
}
?>