Add DOSBox-X

This commit is contained in:
Steffen Lange 2021-07-03 11:40:46 +02:00
parent e1ce0b1801
commit 8a091ae484

14
modules/DOSBoxX.php Normal file
View file

@ -0,0 +1,14 @@
<?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;
}
}
?>