mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-02 14:23:08 +01:00
sublimetext
This commit is contained in:
@@ -2489,12 +2489,11 @@ spotify)
|
|||||||
expectedTeamID="2FNC3A47ZF"
|
expectedTeamID="2FNC3A47ZF"
|
||||||
;;
|
;;
|
||||||
sublimetext)
|
sublimetext)
|
||||||
# credit: Mischa van der Bent (@mischavdbent)
|
# credit: Søren Theilgaard (@theilgaard)
|
||||||
name="Sublime Text"
|
name="Sublime Text"
|
||||||
type="dmg"
|
type="zip"
|
||||||
downloadURL="https://download.sublimetext.com/latest/stable/osx"
|
downloadURL="$(curl -fs https://www.sublimetext.com/download | grep -io "https://download.*_mac.zip")"
|
||||||
appNewVersion=$(curl -fs https://www.sublimetext.com/3 | grep 'class="latest"' | cut -d '>' -f 4 | sed -E 's/ (.*[0-9]*)<.*/\1/g')
|
appNewVersion=$(curl -fs https://www.sublimetext.com/download | grep -i -A 4 "id.*changelog" | grep -io "Build [0-9]*")
|
||||||
#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:]\t]//g') # Alternative from @Oh4sh0
|
|
||||||
expectedTeamID="Z6D26JE4Y4"
|
expectedTeamID="Z6D26JE4Y4"
|
||||||
;;
|
;;
|
||||||
supportapp)
|
supportapp)
|
||||||
|
|||||||
Reference in New Issue
Block a user