mirror of
https://github.com/mtan93/Installomator.git
synced 2026-04-19 06:13:11 +01:00
zohoworkdrive
This commit is contained in:
@@ -7,5 +7,4 @@ zohoworkdrive)
|
||||
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"
|
||||
;;
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
export PATH=/usr/bin:/bin:/usr/sbin:/sbin
|
||||
|
||||
# Check Installomator labels from fragments
|
||||
# 2020 Søren Theilgaard (@theilgaard)
|
||||
# 2021 Søren Theilgaard (@theilgaard)
|
||||
|
||||
# This script will test labels and check if download link is active, and if version is defined.
|
||||
# If labels are written to the script only those will be tested.
|
||||
@@ -31,7 +31,7 @@ if [[ $(sw_vers -buildVersion ) < "18" ]]; then
|
||||
exit 98
|
||||
fi
|
||||
|
||||
currentUser=$(scutil <<< "show State:/Users/ConsoleUser" | awk '/Name :/ { print $3 }')
|
||||
currentUser=$(stat -f "%Su" /dev/console)
|
||||
|
||||
|
||||
# MARK: Functions
|
||||
|
||||
Reference in New Issue
Block a user