PatchBot/modules/FreeDOS.php
2020-12-17 17:45:03 +01:00

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