Add darktable
This commit is contained in:
parent
7bc0a4ecc5
commit
7f3e4a0dd7
1 changed files with 14 additions and 0 deletions
14
modules/Darktable.php
Normal file
14
modules/Darktable.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Darktable extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('Darktable Team', 'darktable', 'https://www.darktable.org/install/');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://api.github.com/repos/darktable-org/darktable/releases/latest', true))
|
||||||
|
return $this->parse_json('tag_name');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue