Add LibreCAD

This commit is contained in:
Steffen Lange 2022-01-06 17:21:07 +01:00
parent 93b12e1c89
commit f95cb1fae0

14
modules/LibreCAD.php Normal file
View file

@ -0,0 +1,14 @@
<?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;
}
}
?>