Add dnscrypt-proxy
This commit is contained in:
parent
2694df1973
commit
9c298cb14f
1 changed files with 14 additions and 0 deletions
14
modules/DNSCryptProxy.php
Normal file
14
modules/DNSCryptProxy.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?php
|
||||
|
||||
class DNSCryptProxy extends PatchBase {
|
||||
function __construct() {
|
||||
parent::__construct('Frank Denis', 'dnscrypt-proxy', 'https://github.com/DNSCrypt/dnscrypt-proxy');
|
||||
}
|
||||
function check() : bool {
|
||||
if ($this->fetch('https://api.github.com/repos/DNSCrypt/dnscrypt-proxy/releases/latest', true))
|
||||
return $this->parse_json('tag_name');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue