Add AdGuard Home

This commit is contained in:
Steffen Lange 2021-03-16 11:41:53 +01:00
parent ce4dbcb6b4
commit ed8279f590

14
modules/AdGuardHome.php Normal file
View file

@ -0,0 +1,14 @@
<?php
class AdGuardHome extends PatchBase {
function __construct() {
parent::__construct('AdGuard Software', 'AdGuard Home', 'https://adguard.com/de/adguard-home/overview.html');
}
function check() : bool {
if ($this->fetch_json('https://api.github.com/repos/AdguardTeam/AdGuardHome/releases/latest'))
return $this->parse_json('tag_name');
return false;
}
}
?>