Add Adobe Illustrator CC

This commit is contained in:
Carlos Precioso 2015-09-03 03:16:55 +02:00 committed by Victor Popkov
parent a321aa8e1c
commit 57f983b737
1 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,22 @@
cask :v1 => 'adobe-illustrator-cc' do
version :latest
sha256 :no_check
url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe Illustrator CC 2015'
homepage 'https://www.adobe.com/products/illustrator.html'
license :commercial
tags :vendor => 'Adobe'
preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/deployment.xml"
end
uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml"
end
uninstall :rmdir => '/Applications/Utilities/Adobe Installers'
end