Skip to content

Commit

Permalink
Add cask for Adobe Acrobat (#20493)
Browse files Browse the repository at this point in the history
  • Loading branch information
ponychicken authored and vitorgalvao committed Apr 12, 2016
1 parent 1041258 commit 18d2dd0
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions Casks/adobe-acrobat.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
cask 'adobe-acrobat' do
version '2015'
sha256 '4d7fe387f5c8f04ee9c959f7b41c4393d3b86d2689ee7b61ef2ae24ffe52c292'

url "http://trials3.adobe.com/AdobeProducts/APRO/Solstice_Acrobat#{version}/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

0 comments on commit 18d2dd0

Please sign in to comment.