forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
adobe-acrobat.rb
26 lines (21 loc) · 976 Bytes
/
adobe-acrobat.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
cask 'adobe-acrobat' do
version '2015'
sha256 :no_check # required as upstream package is updated in-place
url "http://trials3.adobe.com/AdobeProducts/APRO/Acrobat_HelpX/osx10/Acrobat_#{version}_Web_WWMUI.dmg",
user_agent: :fake,
cookies: { 'MM_TRIALS' => '1234' }
name 'Adobe Acrobat Pro DC'
homepage 'https://www.adobe.com/products/reader.html'
license :commercial
depends_on macos: '>= 10.9'
pkg "Acrobat #{version}/Acrobat #{version} Installer.pkg"
uninstall pkgutil: "com.adobe.acrobat.#{version}.*",
delete: "/Applications/Adobe Acrobat #{version}/"
zap delete: [
'~/Library/Application Support/Adobe/Acrobat/',
'~/Library/Preferences/Adobe/Acrobat/',
'~/Library/Preferences/com.adobe.Acrobat.Pro.plist',
'~/Library/Caches/com.adobe.Acrobat.Pro',
'~/Library/Caches/Acrobat',
]
end