Add OpenVPN

This commit is contained in:
Steffen Lange 2021-03-16 11:02:53 +01:00
parent a2dce59c6c
commit 799ca61732

14
modules/OpenVPN.php Normal file
View 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;
}
}
?>