PatchBot/modules/QCAD.php
2023-03-04 18:55:54 +01:00

15 lines
358 B
PHP

<?php
class QCAD extends PatchBase {
function __construct() {
parent::__construct('RibbonSoft GmbH', 'QCAD', 'https://qcad.org/en/download');
$this->patch->setBranch('Community Edition');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/qcad/qcad/tags'))
return $this->parse_json('name');
return false;
}
}
?>