Add Inkscape
This commit is contained in:
parent
b14db9aab5
commit
6eebe2e3b6
1 changed files with 14 additions and 0 deletions
14
modules/Inkscape.php
Normal file
14
modules/Inkscape.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class Inkscape extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Inkscape Authors', 'Inkscape', 'https://inkscape.org/release/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://inkscape.org/release/'))
|
||||
return $this->parse('/<title>Download Inkscape ([\d\.]+)/');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue