14 lines
334 B
PHP
14 lines
334 B
PHP
<?php
|
|
|
|
class FreeDOS extends PatchBase {
|
|
function __construct() {
|
|
parent::__construct('Jim Hall & FreeDOS Team', 'FreeDOS', 'https://www.freedos.org/download/');
|
|
}
|
|
function check() : bool {
|
|
if ($this->fetch('https://www.freedos.org/download/'))
|
|
return $this->parse('/<h2>FreeDOS ([\d\.]+)<\/h2>/');
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|