diff --git a/Casks/adobe-creative-cloud.rb b/Casks/adobe-creative-cloud.rb index 0749ea820329..69487f1295bc 100644 --- a/Casks/adobe-creative-cloud.rb +++ b/Casks/adobe-creative-cloud.rb @@ -6,7 +6,22 @@ name 'Adobe Creative Cloud' homepage 'https://creative.adobe.com/products/creative-cloud' - installer manual: 'Creative Cloud Installer.app' + installer script: { + executable: "#{staged_path}/Creative Cloud Installer.app/Contents/MacOS/Install", + args: ['--mode=silent'], + sudo: true, + } - uninstall delete: "#{staged_path}/#{token}" # Needs to be uninstalled manually + uninstall launchctl: [ + 'com.adobe.AdobeCreativeCloud', + 'com.adobe.acc.installer', + 'com.adobe.agsservice', + 'Adobe_Genuine_Software_Integrity_Service', + ], + delete: [ + '/Applications/Adobe Creative Cloud/Adobe Creative Cloud', + '/Applications/Utilities/Adobe Creative Cloud', + '/Applications/Utilities/Adobe Application Manager', + ], + rmdir: '/Applications/Utilities/Adobe Installers' end