Add DOSBox
This commit is contained in:
parent
1d83acb37d
commit
73c8b806d7
1 changed files with 14 additions and 0 deletions
14
modules/DOSBox.php
Normal file
14
modules/DOSBox.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class DOSBox extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('DOSBox Team', 'DOSBox', 'https://www.dosbox.com/download.php?main=1');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://www.dosbox.com/download.php?main=1'))
|
||||||
|
return $this->parse('/Latest version:\s+<a class="bold" href="download\.php\?main=1">([\d\.-]+)<\/a>/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue