PatchBot/modules/DOSBoxX.php
2021-07-03 11:40:46 +02:00

14 lines
361 B
PHP

<?php
class DOSBoxX extends PatchBase {
function __construct() {
parent::__construct('Jonathan Campbell', 'DOSBox-X', 'https://dosbox-x.com/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/joncampbell123/dosbox-x/releases/latest'))
return $this->parse_json('tag_name', '/dosbox-x-v(.+)/');
return false;
}
}
?>