PatchBot/modules/FreeCAD.php

14 lines
346 B
PHP

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