Add FreeDOS
This commit is contained in:
parent
6c2f343263
commit
762967f654
1 changed files with 14 additions and 0 deletions
14
modules/FreeDOS.php
Normal file
14
modules/FreeDOS.php
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue