mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Update protonvpn.sh
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
protonvpn)
|
||||
name="ProtonVPN"
|
||||
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"
|
||||
appNewVersion=$(echo $downloadURL | awk -F\_ '{print $3}' | awk -F\. '{print $1"."$2"."$3}')
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user