From 69cd2625668fd6d3190bbd8ab35fc2a3bc10540f Mon Sep 17 00:00:00 2001 From: Daniel Bayley Date: Sat, 17 Aug 2019 06:48:08 +0100 Subject: [PATCH 1/3] Add silent install for Adobe Creative Cloud --- Casks/adobe-creative-cloud.rb | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Casks/adobe-creative-cloud.rb b/Casks/adobe-creative-cloud.rb index 0749ea820329..1b846fa873fd 100644 --- a/Casks/adobe-creative-cloud.rb +++ b/Casks/adobe-creative-cloud.rb @@ -6,7 +6,12 @@ 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 delete: "#{staged_path}/#{token}", # Needs to be uninstalled manually + rmdir: '/Applications/Utilities/Adobe Installers' end From 08b23fbec0db9b8c3a823d997d6f9f7ecec03ff4 Mon Sep 17 00:00:00 2001 From: Daniel Bayley Date: Sun, 18 Aug 2019 07:09:38 +0100 Subject: [PATCH 2/3] Fix CI --- Casks/adobe-creative-cloud.rb | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/Casks/adobe-creative-cloud.rb b/Casks/adobe-creative-cloud.rb index 1b846fa873fd..470e225f0a35 100644 --- a/Casks/adobe-creative-cloud.rb +++ b/Casks/adobe-creative-cloud.rb @@ -12,6 +12,17 @@ sudo: true, } - uninstall delete: "#{staged_path}/#{token}", # Needs to be uninstalled manually - rmdir: '/Applications/Utilities/Adobe Installers' + uninstall launchctl: [ + 'com.adobe.AdobeCreativeCloud', + 'com.adobe.acc.installer', + 'com.adobe.agsservice', + 'Adobe_Genuine_Software_Integrity_Service', + ], + delete: [ + "#{staged_path}/#{token}", # Needs to be uninstalled manually + '/Applications/Adobe Creative Cloud/Adobe Creative Cloud', + '/Applications/Utilities/Adobe Creative Cloud', + '/Applications/Utilities/Adobe Application Manager', + ], + rmdir: '/Applications/Utilities/Adobe Installers' end From 982860ca9ced1641477f5baf0ff3ad36c0678b2d Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Mon, 19 Aug 2019 07:42:54 +0200 Subject: [PATCH 3/3] Remove `"#{staged_path}/#{token}"`. --- Casks/adobe-creative-cloud.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/Casks/adobe-creative-cloud.rb b/Casks/adobe-creative-cloud.rb index 470e225f0a35..69487f1295bc 100644 --- a/Casks/adobe-creative-cloud.rb +++ b/Casks/adobe-creative-cloud.rb @@ -19,7 +19,6 @@ 'Adobe_Genuine_Software_Integrity_Service', ], delete: [ - "#{staged_path}/#{token}", # Needs to be uninstalled manually '/Applications/Adobe Creative Cloud/Adobe Creative Cloud', '/Applications/Utilities/Adobe Creative Cloud', '/Applications/Utilities/Adobe Application Manager',