diff --git a/fragments/labels/openvpnconnectv3.sh b/fragments/labels/openvpnconnectv3.sh index 6961e5d..c8dcccb 100644 --- a/fragments/labels/openvpnconnectv3.sh +++ b/fragments/labels/openvpnconnectv3.sh @@ -2,6 +2,12 @@ openvpnconnectv3) # credit: @lotnix name="OpenVPN Connect" type="pkgInDmg" + if [[ $(arch) == "arm64" ]]; then + pkgName="/OpenVPN_Connect_[0-9_()]*_arm64_Installer_signed.pkg" + elif [[ $(arch) == "i386" ]]; then + pkgName="OpenVPN_Connect_[0-9_()]*_x86_64_Installer_signed.pkg" + fi downloadURL="https://openvpn.net/downloads/openvpn-connect-v3-macos.dmg" expectedTeamID="ACV7L3WCD8" ;; + \ No newline at end of file