diff --git a/fragments/labels/fastscripts.sh b/fragments/labels/fastscripts.sh index 2aed4c9..e75144d 100644 --- a/fragments/labels/fastscripts.sh +++ b/fragments/labels/fastscripts.sh @@ -1,7 +1,7 @@ fastscripts) name="FastScripts" type="zip" - downloadURL=$( curl -fs "https://redsweater.com/fastscripts/appcast3.php" | xpath '//rss/channel/item/enclosure/@url' 2>/dev/null | cut -d '"' -f2 ) - appNewVersion=$( curl -fs "https://redsweater.com/fastscripts/appcast3.php" | xpath '//rss/channel/item/enclosure/@sparkle:shortVersionString' 2>/dev/null | cut -d '"' -f2 ) + downloadURL=$( curl -fs "https://redsweater.com/fastscripts/appcast3.php" | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | cut -d '"' -f2 ) + appNewVersion=$( curl -fs "https://redsweater.com/fastscripts/appcast3.php" | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | cut -d '"' -f2 ) expectedTeamID="493CVA9A35" ;;