From b38c8b8ff052d4d688987048ee6786d216636b1c Mon Sep 17 00:00:00 2001 From: Steffen Lange Date: Sat, 21 Jun 2025 17:18:57 +0200 Subject: [PATCH] OpenVPN: use git releases --- modules/OpenVPN.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/OpenVPN.php b/modules/OpenVPN.php index f2d9b73..c0ae1e6 100644 --- a/modules/OpenVPN.php +++ b/modules/OpenVPN.php @@ -5,8 +5,8 @@ class OpenVPN extends PatchBase { 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'); + if ($this->fetch_json('https://api.github.com/repos/OpenVPN/openvpn/releases/latest')) + return $this->parse_json('tag_name'); return false; } }