PatchBot/modules/GanttProject.php
2022-09-21 17:43:36 +02:00

14 lines
387 B
PHP

<?php
class GanttProject extends PatchBase {
function __construct() {
parent::__construct('BarD Software', 'GanttProject', 'https://www.ganttproject.biz/download');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/bardsoftware/ganttproject/releases/latest'))
return $this->parse_json('tag_name', '/ganttproject-(.+)/');
return false;
}
}
?>