Script to automatically download, config, and package the latest stable version of Google Chrome for easy deployment and remote cloud management on macOS devices.
To clone the GitHub repository to your local machine, run the following command in Terminal.
git clone https://github.com/nwfem/managedChrome.git
Modify the CloudManagementEnrollmentToken
value in the com.google.Chrome.plist
file.
nano managedChrome/com.google.Chrome.plist
You can find information about Enrollment Tokens here.
Other policies can be added here, however it is usually ideal to set policies via Cloud Management.
Run the script.
./managedChrome/run.sh
This will automatically download the latest stable version of Google Chrome and add it, along with your .plist file, to a package archive, ready to be installed on your user's systems.
The script will also print the application version and SHA-256 hash for use with MDM deployments or pakage managers.
The final .pkg file can be found at the path managedchrome/googlechrome.pkg
.
An app.icns
file has also been included for quick access.