Update KiCad to correct URL

old domain is no longer valid! https://www.kicad.org/blog/2021/10/Avoid-links-to-former-kicad-domain
This commit is contained in:
Thomas Pointhuber 2021-10-26 12:11:35 +02:00 committed by GitHub
parent cdb38e86b1
commit 6f1a6239d8
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;
} }