Add TreeSheets

This commit is contained in:
Steffen Lange 2020-10-09 21:32:28 +02:00
parent 2b58cd4085
commit ae0b34362e

15
modules/TreeSheets.php Normal file
View file

@ -0,0 +1,15 @@
<?php
class TreeSheets extends PatchBase {
function __construct() {
parent::__construct('Wouter van Oortmerssen', 'TreeSheets', 'http://strlen.com/treesheets/');
$this->patch->setBranch('Continuous');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/aardappel/treesheets/releases/latest', true))
return $this->parse_json('target_commitish', '/(.{7})/');
return false;
}
}
?>