This commit is contained in:
Steffen Lange 2021-02-14 01:26:37 +01:00
parent bae910aa87
commit f723fe30ba

14
modules/Croc.php Normal file
View file

@ -0,0 +1,14 @@
<?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;
}
}
?>