Add GanttProject

This commit is contained in:
Steffen Lange 2022-09-21 17:43:36 +02:00
parent be91a92be7
commit 2a3d5f1804

14
modules/GanttProject.php Normal file
View file

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