14 lines
331 B
PHP
14 lines
331 B
PHP
<?php
|
|
|
|
class OpenVPN extends PatchBase {
|
|
function __construct() {
|
|
parent::__construct('OpenVPN Inc.', 'OpenVPN', 'https://openvpn.net/community-downloads/');
|
|
}
|
|
function check() : bool {
|
|
if ($this->fetch_json('https://api.github.com/repos/OpenVPN/openvpn/tags'))
|
|
return $this->parse_json('name');
|
|
return false;
|
|
}
|
|
}
|
|
|
|
?>
|