mirror of
https://github.com/PurpleComputing/mdmscripts.git
synced 2026-02-14 10:52:06 +00:00
Update zoom.sh
This commit is contained in:
6
zoom.sh
6
zoom.sh
@@ -26,7 +26,7 @@ appName='Zoom.us'
|
||||
forceQuit='Y'
|
||||
logfile="/Library/Logs/ZoomInstallScript.log"
|
||||
deplog="/var/tmp/depnotify.log"
|
||||
scriptver="1.0b"
|
||||
scriptver="1.0c"
|
||||
architecture=$(/usr/bin/arch)
|
||||
userAgent="Mozilla/5.0 (Macintosh; Intel Mac OS X ${OSvers_URL}) AppleWebKit/535.6.2 (KHTML, like Gecko) Version/5.2 Safari/535.6.2"
|
||||
|
||||
@@ -48,10 +48,10 @@ echo "Latest version available is: $latestver"
|
||||
|
||||
if [[ $architecture == "arm64" ]]; then
|
||||
echo "Running Apple Silicon Setting correct URL"
|
||||
url="https://zoom.us/client/latest/Zoom.pkg?archType=amd64"
|
||||
url="http://zoom.us/client/latest/Zoom.pkg?archType=amd64"
|
||||
else
|
||||
echo "Running Intel Setting correct URL"
|
||||
url="https://zoom.us/client/latest/Zoom.pkg"
|
||||
url="http://zoom.us/client/latest/Zoom.pkg"
|
||||
fi
|
||||
|
||||
# Get the version number of the currently-installed App, if any.
|
||||
|
||||
Reference in New Issue
Block a user