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