Add OpenVPN
This commit is contained in:
parent
a2dce59c6c
commit
799ca61732
1 changed files with 14 additions and 0 deletions
14
modules/OpenVPN.php
Normal file
14
modules/OpenVPN.php
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
<?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;
|
||||
}
|
||||
}
|
||||
|
||||
?>
|
||||
Loading…
Add table
Add a link
Reference in a new issue