mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Add TextExpander
This is my first time contributing to Installomator, so my apologies in advance if I'm missing something, or doing something wrong. I believe this is the best option to find the latest appNewVersion number for TextExpander specifically, but I'm also happy to be proven otherwise.
This commit is contained in:
@@ -2411,6 +2411,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"
|
||||
|
||||
Reference in New Issue
Block a user