diff --git a/fragments/labels/sublimetext.sh b/fragments/labels/sublimetext.sh index 5f63257..1fda13f 100644 --- a/fragments/labels/sublimetext.sh +++ b/fragments/labels/sublimetext.sh @@ -2,7 +2,7 @@ sublimetext) # credit: Søren Theilgaard (@theilgaard) name="Sublime Text" type="zip" - downloadURL="$(curl -fs https://www.sublimetext.com/download | grep -io "https://download.*_mac.zip")" + downloadURL="$(curl -fs "https://www.sublimetext.com/download_thanks?target=mac#direct-downloads" | grep -io "https://download.*_mac.zip" | head -1)" appNewVersion=$(curl -fs https://www.sublimetext.com/download | grep -i -A 4 "id.*changelog" | grep -io "Build [0-9]*") expectedTeamID="Z6D26JE4Y4" ;;