forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadobe-acrobat-pro.rb
37 lines (33 loc) · 1.57 KB
/
adobe-acrobat-pro.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
cask 'adobe-acrobat-pro' do
version '18'
sha256 :no_check # required as upstream package is updated in-place
url "https://trials3.adobe.com/AdobeProducts/APRO/#{version}/osx10/Acrobat_DC_Web_WWMUI.dmg",
user_agent: :fake,
cookies: { 'MM_TRIALS' => '1234' }
name 'Adobe Acrobat Pro DC'
homepage 'https://acrobat.adobe.com/us/en/acrobat/pdf-reader.html'
pkg 'Acrobat DC/Acrobat DC Installer.pkg'
uninstall pkgutil: [
'com.adobe.acrobat.DC.*',
'com.adobe.PDApp.AdobeApplicationManager.installer.pkg',
'com.adobe.AcroServicesUpdater',
'com.adobe.armdc.app.pkg',
],
launchctl: [
'Adobe_Genuine_Software_Integrity_Service',
'com.adobe.AAM.Startup-1.0',
'com.adobe.AAM.Updater-1.0',
'com.adobe.ARMDC.Communicator',
'com.adobe.ARMDC.SMJobBlessHelper',
'com.adobe.ARMDCHelper.cc24aef4a1b90ed56a725c38014c95072f92651fb65e1bf9c8e43c37a23d420d',
'com.adobe.agsservice',
],
delete: '/Applications/Adobe Acrobat DC/'
zap trash: [
'~/Library/Application Support/Adobe/Acrobat/',
'~/Library/Caches/Acrobat',
'~/Library/Caches/com.adobe.Acrobat.Pro',
'~/Library/Preferences/Adobe/Acrobat/',
'~/Library/Preferences/com.adobe.Acrobat.Pro.plist',
]
end