1 cask "adobe-creative-cloud" do
2 arch arm: "macarm64", intel: "osx10"
5 sha256 arm: "356cc46fb85e40405701a06acc42364395eb536dca3f49d7a6af1233f41ed4e5",
6 intel: "9fba05132eb535897fc36ad7e8612c5d9d178c7bbe0832fe7d2916567bfb88ce"
8 # If url breaks you can find the latest static urls - https://helpx.adobe.com/download-install/kb/creative-cloud-desktop-app-download.html
9 url "https://ccmdls.adobe.com/AdobeProducts/StandaloneBuilds/ACCC/ESD/#{version.major_minor_patch}/#{version.split(".").fourth}/#{arch}/ACCCx#{version.dots_to_underscores}.dmg"
10 name "Adobe Creative Cloud"
11 desc "Collection of apps and services for photography, design, video, web, and UX"
12 homepage "https://www.adobe.com/creativecloud.html"
15 url "https://ffc-static-cdn.oobesaas.adobe.com/features/v3/#{arch}/ccdConfig.xml"
16 strategy :xml do |xml|
17 item = xml.elements["//feature-entry[@id='ccd.fw.update.greenline.latest']/data"]&.text&.strip
20 json = Homebrew::Livecheck::Strategy::Json.parse_json(item)
28 executable: "#{staged_path}/Install.app/Contents/MacOS/Install",
29 args: ["--mode=silent"],
34 uninstall_preflight do
35 set_ownership "/Library/Application Support/Adobe"
38 uninstall_postflight do
39 stdout, * = system_command "/bin/launchctl", args: ["print", "gui/#{Process.uid}"]
40 ccx_processes = stdout.lines.grep(/com\.adobe\.CCXProcess\.\d{5}/) { Regexp.last_match(0) }.uniq
41 ccx_processes.each { |id| system "/bin/launchctl", "bootout", "gui/#{Process.uid}/#{id}" }
44 uninstall early_script: {
45 executable: "/usr/bin/pluginkit",
47 "-r", "/Applications/Utilities/Adobe Sync/CoreSync/Core Sync.app/Contents/PlugIns/ACCFinderSync.appex"
53 "Adobe_Genuine_Software_Integrity_Service",
54 "com.adobe.acc.installer",
55 "com.adobe.acc.installer.v2",
56 "com.adobe.AdobeCreativeCloud",
57 "com.adobe.ccxprocess",
59 quit: "com.adobe.acc.AdobeCreativeCloud",
60 signal: ["QUIT", "com.adobe.accmac"],
62 executable: "/usr/bin/pkill",
63 args: ["Adobe Desktop Service", "AdobeIPCBroker", "AdobeCRDaemon"],
67 "#{appdir}/Adobe Creative Cloud/*Adobe Creative Cloud",
68 "#{appdir}/Adobe Creative Cloud/.Uninstall*",
69 "#{appdir}/Adobe Creative Cloud/Icon?",
70 "/Applications/Utilities/Adobe Application Manager",
71 "/Applications/Utilities/Adobe Creative Cloud*",
72 "/Applications/Utilities/Adobe Installers/.Uninstall*",
73 "/Applications/Utilities/Adobe Installers/Uninstall Adobe Creative Cloud",
74 "/Applications/Utilities/Adobe Sync",
75 "/Library/Internet Plug-Ins/AdobeAAMDetect.plugin",
76 "/Library/LaunchDaemons/com.adobe.agsservice.plist",
79 "#{appdir}/Adobe Creative Cloud",
80 "/Applications/Utilities/Adobe Installers",
82 "/Library/Application Support/Adobe",
83 "/Library/Application Support/Adobe{/CEP{/extensions,},}",
84 "/Library/Logs/Adobe",
88 "/Library/*/com.adobe.acc*",
89 "/Library/Application Support/Adobe/ADCRefs",
90 "/Library/Application Support/Adobe/Adobe Desktop Common",
91 "/Library/Application Support/Adobe/*[Ii]nstall*",
92 "/Library/Application Support/Adobe/Adobe PCD",
93 "/Library/Application Support/Adobe/AdobeApplicationManager",
94 "/Library/Application Support/Adobe/AdobeGC*",
95 "/Library/Application Support/Adobe/caps",
96 "/Library/Application Support/Adobe/CEP/extensions/CC_*",
97 "/Library/Application Support/Adobe/CEP/extensions/com.adobe.ccx.*",
98 "/Library/Application Support/Adobe/Creative Cloud Libraries",
99 "/Library/Application Support/Adobe/Extension Manager CC",
100 "/Library/Application Support/Adobe/OOBE",
101 "/Library/Application Support/Adobe/PCF",
102 "/Library/Application Support/Adobe/SL*",
103 "/Library/Application Support/Adobe/Vulcan",
104 "/Library/Application Support/regid.*.com.adobe",
105 "/Library/Logs/CreativeCloud",
106 "/Library/Preferences/com.adobe.headlights*.plist",
107 "/Users/Shared/Adobe/Installer",
108 "/Users/Shared/Adobe/OOBE",
109 "~/Creative Cloud Files",
110 "~/Creative Cloud Files/Icon?",
111 "~/Library/*/Adobe/CoreSync",
112 "~/Library/*/com.adobe.acc*",
113 "~/Library/Application Scripts/com.adobe.accmac.ACCFinderSync",
114 "~/Library/Application Support/Adobe/.adobelicnotification",
115 "~/Library/Application Support/Adobe/AAMUpdater",
116 "~/Library/Application Support/Adobe/ExtensibilityLibrary",
117 "~/Library/Application Support/Adobe/Extension Manager CC",
118 "~/Library/Application Support/Adobe/FloodGate",
119 "~/Library/Application Support/Adobe/OOBE",
120 "~/Library/Application Support/CrashReporter/AdobeCRDaemon_*.plist",
121 "~/Library/Group Containers/Adobe-Hub-App",
122 "~/Library/LaunchAgents/com.adobe.ccxprocess.plist",
123 "~/Library/Logs/ACC*.log",
124 "~/Library/Logs/AdobeDownload.log",
125 "~/Library/Logs/AdobeIPCBroker*.log",
126 "~/Library/Logs/CoreSyncInstall.log",
127 "~/Library/Logs/CreativeCloud",
128 "~/Library/Logs/PDApp*.log",
129 "~/Library/Preferences/Adobe/.[A-Z0-9]???????????",
130 "~/Library/Preferences/com.adobe.crashreporter.plist",
133 "/Users/Shared/Adobe",
134 "~/Creative Cloud Files",
136 "~/Library/Application Support/Adobe",
137 "~/Library/Logs/Adobe",