From 14f3725ed9c8115584a6859931c34460a650d1b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Fri, 3 Sep 2021 15:58:46 +0200 Subject: [PATCH] zohoworkdrive --- Labels.txt | 1 + fragments/labels/zohoworkdrive.sh | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 fragments/labels/zohoworkdrive.sh diff --git a/Labels.txt b/Labels.txt index ebda2ef..529c43d 100644 --- a/Labels.txt +++ b/Labels.txt @@ -311,6 +311,7 @@ xink xquartz yubikeymanagerqt zappy +zohoworkdrive zoom zoomclient zoomrooms diff --git a/fragments/labels/zohoworkdrive.sh b/fragments/labels/zohoworkdrive.sh new file mode 100644 index 0000000..f7a0f11 --- /dev/null +++ b/fragments/labels/zohoworkdrive.sh @@ -0,0 +1,11 @@ +zohoworkdrive) +# Using this label expects you to agree to these: +# License Areemant: https://www.zoho.com/workdrive/zohoworkdrive-license-agreement.html +# Privacy policy: https://www.zoho.com/privacy.html + name="ZohoWorkDrive" + type="dmg" + lines=$(curl -fs https://www.zohowebstatic.com/sites/all/themes/zoho/scripts/workdrive.js | grep files-accl.zohopublic.com | tr '"' "\n") + downloadURL=$(echo "$lines" | grep -i "files-accl.zohopublic.com")$(echo "$lines" | grep -i -A17 "files-accl.zohopublic.com" | grep -i -A2 macintosh | tail -1) + expectedTeamID="TZ824L8Y37" + appName="Zoho WorkDrive.app" + ;;