PatchBot/modules/Croc.php
2021-02-14 01:26:37 +01:00

14 lines
324 B
PHP

<?php
class Croc extends PatchBase {
function __construct() {
parent::__construct('Zack', 'croc', 'https://schollz.com/software/croc6');
}
function check() : bool {
if ($this->fetch('https://api.github.com/repos/schollz/croc/releases/latest', true))
return $this->parse_json('tag_name');
return false;
}
}
?>