Skip to main content

Worklet: Install Zoom on MacOS


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

Evaluation:

#!/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:

#!/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"

0 replies

Be the first to reply!

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings