mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-15 14:23:10 +01:00
Update protonvpn.sh
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
protonvpn)
|
protonvpn)
|
||||||
name="ProtonVPN"
|
name="ProtonVPN"
|
||||||
type="dmg"
|
type="dmg"
|
||||||
downloadURL=$(curl -fs "https://protonvpn.com/download" | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*" | grep dmg | tail -1)
|
downloadURL=$(curl -fs "https://protonvpn.com/download" | grep -Eo "(http|https)://[a-zA-Z0-9./?=_%:-]*\.dmg" | head -1)
|
||||||
|
appNewVersion=$(echo $downloadURL | sed -e 's/^.*\/Proton.*_v\([0-9.]*\)\.dmg/\1/g')
|
||||||
expectedTeamID="J6S6Q257EK"
|
expectedTeamID="J6S6Q257EK"
|
||||||
appNewVersion=$(echo $downloadURL | awk -F\_ '{print $3}' | awk -F\. '{print $1"."$2"."$3}')
|
|
||||||
;;
|
;;
|
||||||
|
|||||||
Reference in New Issue
Block a user