Add LibreCAD
This commit is contained in:
parent
93b12e1c89
commit
f95cb1fae0
1 changed files with 14 additions and 0 deletions
14
modules/LibreCAD.php
Normal file
14
modules/LibreCAD.php
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue