finished updating labels

This commit is contained in:
Armin Briegel
2021-08-16 16:55:28 +02:00
parent 97e8c160d2
commit 2e72b05df1
142 changed files with 460 additions and 190 deletions
+4 -5
View File
@@ -1,9 +1,8 @@
sublimetext)
# credit: Mischa van der Bent (@mischavdbent)
# credit: Søren Theilgaard (@theilgaard)
name="Sublime Text"
type="dmg"
downloadURL="https://download.sublimetext.com/latest/stable/osx"
appNewVersion=$(curl -fs https://www.sublimetext.com/3 | grep 'class="latest"' | cut -d '>' -f 4 | sed -E 's/ (.*[0-9]*)<.*/\1/g')
#appNewVersion=$(curl -Is https://download.sublimetext.com/latest/stable/osx | grep "Location:" | sed -n -e 's/^.*Sublime Text //p' | sed 's/.dmg//g' | sed $'s/[^[:print:] ]//g') # Alternative from @Oh4sh0
type="zip"
downloadURL="$(curl -fs https://www.sublimetext.com/download | grep -io "https://download.*_mac.zip")"
appNewVersion=$(curl -fs https://www.sublimetext.com/download | grep -i -A 4 "id.*changelog" | grep -io "Build [0-9]*")
expectedTeamID="Z6D26JE4Y4"
;;