forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add cask for Adobe Acrobat (Homebrew#20493)
- Loading branch information
1 parent
551df63
commit 682b47e
Showing
1 changed file
with
26 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |