cut v0.52.1
[Homebrew/homebrew-cask-versions.git] / Casks / adobe-air.rb
blob4929ac004b090f39793af1f6d04e87f9616c8f2f
1 cask :v1 => 'adobe-air' do
2   version '15.0'
3   sha256 :no_check # required as upstream package is updated in-place
5   url "http://airdownload.adobe.com/air/mac/download/#{version}/AdobeAIR.dmg"
6   name 'Adobe AIR'
7   homepage 'https://get.adobe.com/air/'
8   license :gratis
10   installer :script => 'Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer',
11             :args   => %w[-silent],
12             :sudo   => true
14   uninstall :script => {
15                         :executable => 'Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer',
16                         :args       => %w[-uninstall]
17                        }
18   zap :delete => [
19                   '~/Library/Application Support/Adobe/AIR',
20                   '~/Library/Caches/com.adobe.air.ApplicationInstaller',
21                  ],
22       :rmdir  => '~/Library/Application Support/Adobe/'
23 end