Merge pull request #1 from pointhi/master

Update KiCad to correct URL
This commit is contained in:
Steffen Lange 2021-10-26 14:43:08 +02:00 committed by GitHub
commit 84f10552e3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,10 +2,10 @@
class KiCad extends PatchBase { class KiCad extends PatchBase {
function __construct() { function __construct() {
parent::__construct('KiCad Developers', 'KiCad', 'https://kicad-pcb.org/download/'); parent::__construct('KiCad Developers', 'KiCad', 'https://kicad.org/download/');
} }
function check() : bool { function check() : bool {
if ($this->fetch('https://kicad-pcb.org/download/source/')) if ($this->fetch('https://kicad.org/download/source/'))
return $this->parse('/<p>Current Version: <strong>([\d\.]+)<\/strong><\/p>/'); return $this->parse('/<p>Current Version: <strong>([\d\.]+)<\/strong><\/p>/');
return false; return false;
} }