From 57f53c647e36d0323cd66f697b496f14b8cf86a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Theilgaard?= Date: Thu, 28 Oct 2021 13:27:08 +0200 Subject: [PATCH] Create zohoworkdrivetruesync.sh Hold this branch, it needs to be fully working, and the ARM version out of beta before its usable. --- fragments/labels/zohoworkdrivetruesync.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 fragments/labels/zohoworkdrivetruesync.sh diff --git a/fragments/labels/zohoworkdrivetruesync.sh b/fragments/labels/zohoworkdrivetruesync.sh new file mode 100644 index 0000000..8413619 --- /dev/null +++ b/fragments/labels/zohoworkdrivetruesync.sh @@ -0,0 +1,13 @@ +zohoworkdrivetruesync) +# 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="Zoho WorkDrive TrueSync" + type="pkg" + if [[ $(arch) == "arm64" ]]; then + downloadURL="https://files-accl.zohopublic.com/public/tsbin/download/c12aff2fd2a830b382c3ff79cf57ff1d" # beta for M1 + elif [[ $(arch) == "i386" ]]; then + downloadURL=$(curl -fs "https://www.zoho.com/workdrive/truesync.html" | tr '<' '\n' | grep -B3 "For Mac" | grep -o -m1 "https.*\"" | cut -d '"' -f1) + fi + expectedTeamID="TZ824L8Y37" + ;;