From acb785bb296f54c52b8f639d70247cccf066ea11 Mon Sep 17 00:00:00 2001 From: dvreijen <48281354+dvreijen@users.noreply.github.com> Date: Tue, 14 Dec 2021 13:30:15 +0100 Subject: [PATCH 1/3] Create itsycal.sh New label for Itsycal --- fragments/labels/itsycal.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 fragments/labels/itsycal.sh diff --git a/fragments/labels/itsycal.sh b/fragments/labels/itsycal.sh new file mode 100644 index 0000000..073a7c9 --- /dev/null +++ b/fragments/labels/itsycal.sh @@ -0,0 +1,8 @@ +itsycal) + name="Itsycal" + type="zip" + downloadURL="https://itsycal.s3.amazonaws.com/Itsycal.zip" + appNewVersion=$( curl -fsL https://www.mowglii.com/itsycal/versionhistory.html |grep -m1 'id="0' |awk -F '"' '{print $2}' ) + blockingProcesses=( "Itsycal" ) + expectedTeamID="HFT3T55WND" + ;; From c1734bac7fb3621a5a0428cb183693afc2992b57 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Sun, 9 Jan 2022 20:28:22 +0100 Subject: [PATCH 2/3] Update itsycal.sh --- fragments/labels/itsycal.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fragments/labels/itsycal.sh b/fragments/labels/itsycal.sh index 073a7c9..08d095b 100644 --- a/fragments/labels/itsycal.sh +++ b/fragments/labels/itsycal.sh @@ -1,8 +1,8 @@ itsycal) name="Itsycal" type="zip" - downloadURL="https://itsycal.s3.amazonaws.com/Itsycal.zip" - appNewVersion=$( curl -fsL https://www.mowglii.com/itsycal/versionhistory.html |grep -m1 'id="0' |awk -F '"' '{print $2}' ) + downloadURL=$(curl -fs https://s3.amazonaws.com/itsycal/itsycal-apple-silicon.xml | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2) + appNewVersion=$(curl -fs https://s3.amazonaws.com/itsycal/itsycal-apple-silicon.xml | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2) blockingProcesses=( "Itsycal" ) expectedTeamID="HFT3T55WND" ;; From 02b0829877c2a0f79d153c89c7d644dc59b6ce5a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Sun, 9 Jan 2022 20:55:13 +0100 Subject: [PATCH 3/3] Update itsycal.sh --- fragments/labels/itsycal.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/fragments/labels/itsycal.sh b/fragments/labels/itsycal.sh index 08d095b..5153f36 100644 --- a/fragments/labels/itsycal.sh +++ b/fragments/labels/itsycal.sh @@ -3,6 +3,5 @@ itsycal) type="zip" downloadURL=$(curl -fs https://s3.amazonaws.com/itsycal/itsycal-apple-silicon.xml | xpath '(//rss/channel/item/enclosure/@url)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2) appNewVersion=$(curl -fs https://s3.amazonaws.com/itsycal/itsycal-apple-silicon.xml | xpath '(//rss/channel/item/enclosure/@sparkle:shortVersionString)[1]' 2>/dev/null | head -1 | cut -d '"' -f 2) - blockingProcesses=( "Itsycal" ) expectedTeamID="HFT3T55WND" ;;