mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 21:02:46 +00:00
19 lines
1.1 KiB
Bash
19 lines
1.1 KiB
Bash
adobecreativeclouddesktop)
|
|
name="Adobe Creative Cloud"
|
|
#appName="Install.app"
|
|
type="dmg"
|
|
adobeurl="https://helpx.adobe.com/download-install/kb/creative-cloud-desktop-app-download.html"
|
|
if [[ $(arch) == "arm64" ]]; then
|
|
downloadURL=$(curl -fs "$adobeurl" | xmllint -html -xpath "string(//a[contains(@href,'osx10')][contains(text(),'Download')]/@href)" - 2> /dev/null)
|
|
elif [[ $(arch) == "i386" ]]; then
|
|
downloadURL=$(curl -fs "$adobeurl" | xmllint -html -xpath "string(//a[contains(@href,'macarm64')][contains(text(),'Download')]/@href)" - 2> /dev/null)
|
|
fi
|
|
#downloadURL=$(curl -fs "https://helpx.adobe.com/download-install/kb/creative-cloud-desktop-app-download.html" | grep -o "https*.*dmg" | head -1)
|
|
appNewVersion=$(curl -fs "https://helpx.adobe.com/creative-cloud/release-note/cc-release-notes.html" | grep "mandatory" | head -1 | grep -o "Version *.* released" | cut -d " " -f2)
|
|
installerTool="Install.app"
|
|
CLIInstaller="Install.app/Contents/MacOS/Install"
|
|
CLIArguments=(--mode=silent)
|
|
expectedTeamID="JQ525L2MZD"
|
|
Company="Adobe"
|
|
;;
|