old domain is no longer valid! https://www.kicad.org/blog/2021/10/Avoid-links-to-former-kicad-domain
14 lines
343 B
PHP
14 lines
343 B
PHP
<?php
|
|
|
|
class KiCad extends PatchBase {
|
|
function __construct() {
|
|
parent::__construct('KiCad Developers', 'KiCad', 'https://kicad.org/download/');
|
|
}
|
|
function check() : bool {
|
|
if ($this->fetch('https://kicad.org/download/source/'))
|
|
return $this->parse('/<p>Current Version: <strong>([\d\.]+)<\/strong><\/p>/');
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|