Created
December 21, 2017 09:50
-
-
Save abrkn/346636e80d831ed1160917d6ee5ddc4d to your computer and use it in GitHub Desktop.
Install Adobe Creative Cloud with minimal user interaction
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# Adobe Creative Cloud | |
if [ ! -d "/Applications/Adobe Creative Cloud/" ]; then | |
dmg=CreativeCloudInstaller.dmg | |
dir=$(mktemp -d) | |
pushd "$dir" | |
curl -O "https://ccmdls.adobe.com/AdobeProducts/PHSP/19_0_1/osx10-64/AAMmetadataLS20/$dmg" | |
mkdir -p mount | |
hdiutil attach -mountpoint mount "$dmg" | |
pushd mount | |
open -W "Creative Cloud Installer.app" | |
popd # $dir | |
hdiutil detach mount | |
rm "$dmg" | |
popd # prev | |
rm -rf "$dir" | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment