Add ProjectLibre

This commit is contained in:
Steffen Lange 2021-07-01 14:31:04 +02:00
parent 6165a1e4b3
commit 077e4dc920

14
modules/ProjectLibre.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class ProjectLibre extends PatchBase {
function __construct() {
parent::__construct('ProjectLibre Inc.', 'ProjectLibre', 'https://www.projectlibre.com/product/1-alternative-microsoft-project-open-source');
}
function check() : bool {
if ($this->fetch('https://sourceforge.net/projects/projectlibre/files/latest/download'))
return $this->parse('/<div class="file-name">\s*projectlibre-([\d\.]+)\.jar\s*<\/div>/');
return false;
}
}
?>