Merge pull request #160 from lucascantor/patch-1

Add TextExpander
This commit is contained in:
Søren Theilgaard
2021-05-20 14:18:36 +02:00
committed by GitHub

View File

@@ -2542,6 +2542,13 @@ telegram)
appNewVersion=$( curl -fs https://macos.telegram.org | grep anchor | head -1 | sed -E 's/.*a>([0-9.]*) .*/\1/g' )
expectedTeamID="6N38VWS5BX"
;;
textexpander)
name="TextExpander"
type="zip"
downloadURL="https://textexpander.com/cgi-bin/redirect.pl?cmd=download&platform=osx"
appNewVersion=$( curl -fsIL "https://textexpander.com/cgi-bin/redirect.pl?cmd=download&platform=osx" | grep -i "^location" | awk '{print $2}' | tail -1 | cut -d "_" -f2 | sed -nre 's/^[^0-9]*(([0-9]+\.)*[0-9]+).*/\1/p' )
expectedTeamID="7PKJ6G4DXL"
;;
textmate)
name="TextMate"
type="tbz"