AutomoxAutomox

Worklet: Install Zoom on MacOS

vienna
March 21, 2021 at 4:47 pm UTC

Hi all, here’s a Worklet to install Zoom on MacOS

Evaluation:

bash11 lines
#!/bin/bash

#Checks whether zoom.us.app is installed in the /Applications directory, if not, Exit 1 code and goes to next step

if [[ -d "/Applications/zoom.us.app" ]]; then
        echo "Zoom is installed."
        exit 0
else
        echo "Zoom is not installed."
        exit 1
fi

Remediation:

bash16 lines
#!/bin/bash

echo -e "Downloading Zoom..."

#Downloads Zoom pkg to /tmp/

curl -L -o "/tmp/zoompkg.pkg" https://zoom.us/client/latest/Zoom.pkg

echo -e "Installing Zoom..."

#Runs the installer

sudo installer -pkg /tmp/zoompkg.pkg -target /

echo -e "Cleaning up..."
rm -f "/tmp/zoompkg.pkg"

This discussion is archived and closed to replies. Continue it in the Automox Community Slack.

Discuss on Slack