14 lines
324 B
PHP
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;
|
|
}
|
|
}
|
|
|
|
?>
|