Add Scribus
This commit is contained in:
parent
3049b58e14
commit
649b52b9d6
1 changed files with 14 additions and 0 deletions
14
modules/Scribus.php
Normal file
14
modules/Scribus.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Scribus extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Scribus Team', 'Scribus', 'https://www.scribus.net/downloads/stable-branch/');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://www.scribus.net/downloads/stable-branch/'))
|
||||||
|
return $this->parse('/<strong>Current stable release: Scribus ([\d\.]+)<\/strong>/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue