diff --git a/modules/KiCad.php b/modules/KiCad.php index dd39edf..9ff68fa 100644 --- a/modules/KiCad.php +++ b/modules/KiCad.php @@ -5,8 +5,8 @@ class KiCad extends PatchBase { parent::__construct('KiCad Developers', 'KiCad', 'https://kicad.org/download/'); } function check() : bool { - if ($this->fetch('https://kicad.org/download/source/')) - return $this->parse('/

Current Version: ([\d\.]+)<\/strong><\/p>/'); + if ($this->fetch_json('https://api.github.com/repos/KiCad/kicad-source-mirror/releases/latest')) + return $this->parse_json('tag_name'); return false; } }