Add Krita

This commit is contained in:
Steffen Lange 2020-02-27 13:42:27 +01:00
parent 91333c48bc
commit 2ed6e46cc2

14
modules/Krita.php Normal file
View 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;
}
}
?>