From f928253f443686404d1322eb9753d88ace8ddde2 Mon Sep 17 00:00:00 2001 From: Daniel Bayley Date: Mon, 19 Aug 2019 06:53:04 +0100 Subject: [PATCH] [WIP] Add silent install for Adobe Creative Cloud (#67745) --- Casks/adobe-creative-cloud.rb | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) 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