From 1dfa162783047b4e29f98a846436630523e0ae37 Mon Sep 17 00:00:00 2001 From: MrAZisHere Date: Fri, 24 Jun 2022 20:40:48 +0800 Subject: [PATCH] Update sublimetext.sh download url has changed --- fragments/labels/sublimetext.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" ;;