mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-19 21:03:32 +00:00
sourcetree changed
Maybe not using Sparkle anymore
This commit is contained in:
@@ -2452,10 +2452,8 @@ sonoss2)
|
|||||||
sourcetree)
|
sourcetree)
|
||||||
name="Sourcetree"
|
name="Sourcetree"
|
||||||
type="zip"
|
type="zip"
|
||||||
downloadURL=$(curl -fs https://product-downloads.atlassian.com/software/sourcetree/Appcast/SparkleAppcastAlpha.xml \
|
downloadURL=$(curl -fs "https://www.sourcetreeapp.com" | grep -i "macURL" | tr '"' '\n' | grep -io "https://.*/Sourcetree.*\.zip" | tail -1)
|
||||||
| xpath '//rss/channel/item[last()]/enclosure/@url' 2>/dev/null \
|
appNewVersion=$(echo "${downloadURL}" | sed -E 's/.*\/Sourcetree_([0-9.]*)_[0-9]*\.zip/\1/g')
|
||||||
| cut -d '"' -f 2 )
|
|
||||||
appNewVersion=$(curl -fs https://product-downloads.atlassian.com/software/sourcetree/Appcast/SparkleAppcastAlpha.xml | xpath '//rss/channel/item[last()]/title' 2>/dev/null | sed -n -e 's/^.*Version //p' | sed 's/\<\/title\>//' | sed $'s/[^[:print:]\t]//g')
|
|
||||||
expectedTeamID="UPXU4CQZ5P"
|
expectedTeamID="UPXU4CQZ5P"
|
||||||
;;
|
;;
|
||||||
spotify)
|
spotify)
|
||||||
|
|||||||
Reference in New Issue
Block a user