15 lines
418 B
PHP
15 lines
418 B
PHP
<?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;
|
|
}
|
|
}
|
|
|
|
?>
|