From 350c897c8a5ef4757eb201793fd9bc82103ce6fc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Mon, 29 Aug 2022 21:13:53 +0200 Subject: [PATCH] Now available on GitHub --- fragments/labels/knockknock.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fragments/labels/knockknock.sh b/fragments/labels/knockknock.sh index 8f351f4..35f854e 100644 --- a/fragments/labels/knockknock.sh +++ b/fragments/labels/knockknock.sh @@ -1,7 +1,7 @@ knockknock) name="KnockKnock" type="zip" - downloadURL=$( curl -fs "https://objective-see.com/products/knockknock.html" | grep https | grep "$type" | head -1 | tr '"' "\n" | grep "^http" ) - appNewVersion=$( echo "${downloadURL}" | sed -E 's/.*\/[a-zA-Z]*_([0-9.]*)\..*/\1/g' ) + downloadURL="$(downloadURLFromGit objective-see KnockKnock)" + appNewVersion="$(versionFromGit objective-see KnockKnock)" expectedTeamID="VBG97UB4TA" ;;