Add TreeSheets
This commit is contained in:
parent
2b58cd4085
commit
ae0b34362e
1 changed files with 15 additions and 0 deletions
15
modules/TreeSheets.php
Normal file
15
modules/TreeSheets.php
Normal 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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue