Add Stubby
This commit is contained in:
parent
29511ae56d
commit
ce66886675
1 changed files with 14 additions and 0 deletions
14
modules/Stubby.php
Normal file
14
modules/Stubby.php
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
class Stubby extends PatchBase {
|
||||||
|
function __construct() {
|
||||||
|
parent::__construct('NLnet Labs', 'Stubby', 'https://dnsprivacy.org/wiki/x/JYAT');
|
||||||
|
}
|
||||||
|
function check() : bool {
|
||||||
|
if ($this->fetch('https://api.github.com/repos/getdnsapi/stubby/releases/latest', true))
|
||||||
|
return $this->parse_json('tag_name');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
?>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue