Add FreeDOS

This commit is contained in:
Steffen Lange 2020-12-17 17:45:03 +01:00
parent 6c2f343263
commit 762967f654

14
modules/FreeDOS.php Normal file
View file

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