Create zohoworkdrivetruesync.sh

Hold this branch, it needs to be fully working, and the ARM version out of beta before its usable.
This commit is contained in:
Søren Theilgaard
2021-10-28 13:27:08 +02:00
parent cfa0d90725
commit 57f53c647e

View File

@@ -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"
;;