Add Krita
This commit is contained in:
parent
91333c48bc
commit
2ed6e46cc2
1 changed files with 14 additions and 0 deletions
14
modules/Krita.php
Normal file
14
modules/Krita.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Krita extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Krita Foundation', 'Krita', 'https://krita.org/');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://krita.org/en/download/krita-desktop/'))
|
||||||
|
return $this->parse('/<h3>Download Krita[\s]*([\d\.]+)<\/h3>/');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue