PatchBot/modules/LibreCAD.php
2022-01-06 17:21:07 +01:00

14 lines
332 B
PHP

<?php
class LibreCAD extends PatchBase {
function __construct() {
parent::__construct('LibreCAD Team', 'LibreCAD', 'https://librecad.org/');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/LibreCAD/LibreCAD/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>