From 08b23fbec0db9b8c3a823d997d6f9f7ecec03ff4 Mon Sep 17 00:00:00 2001 From: Daniel Bayley Date: Sun, 18 Aug 2019 07:09:38 +0100 Subject: [PATCH] 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