Import source
This commit is contained in:
parent
50b489784d
commit
32b8c4cb56
34 changed files with 890 additions and 0 deletions
14
modules/cTop.php
Normal file
14
modules/cTop.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class cTop extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Bradley Cicenas', 'ctop', 'https://ctop.sh/');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://api.github.com/repos/bcicen/ctop/releases/latest', true))
|
||||
return $this->parse_json('tag_name');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue