Update screencloudplayer.sh

This commit is contained in:
Søren Theilgaard
2021-11-22 15:22:14 +01:00
parent 9c060635df
commit 4b59622348

View File

@@ -1,7 +1,7 @@
screencloudplayer)
# credit: AP Orlebeke (@apizz)
name="ScreenCloud Player"
type="dmg"
downloadURL=$(curl -sL "https://screencloud.com/download" | sed -n 's/^.*"url":"\([^"]*\)".*$/\1/p')
downloadURL=$(curl -fs "https://screencloud.com/download" | sed -n 's/^.*"url":"\(https.*\.dmg\)".*$/\1/p')
appNewVersion=$( echo $downloadURL | sed -e 's/.*\/ScreenCloud.*\-\([0-9.]*\)\.dmg/\1/g' )
expectedTeamID="3C4F953K6P"
;;