homebrew-cask/Casks/adobe-air.rb

32 lines
1.1 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'adobe-air' do
2017-06-22 21:44:29 +08:00
version '26.0'
sha256 :no_check # required as upstream package is updated in-place
2014-06-16 04:14:30 +08:00
url "https://airdownload.adobe.com/air/mac/download/#{version}/AdobeAIR.dmg"
2015-01-04 10:29:18 +08:00
name 'Adobe AIR'
homepage 'https://get.adobe.com/air/'
2014-06-16 04:14:30 +08:00
installer script: {
executable: 'Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer',
args: %w[-silent],
sudo: true,
}
2013-10-24 03:30:24 +08:00
uninstall script: {
executable: 'Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer',
args: %w[-uninstall],
2017-04-19 18:29:03 +08:00
sudo: true,
},
rmdir: [
'/Applications/Adobe/Flash Player/AddIns',
'/Applications/Adobe/Flash Player',
'/Applications/Adobe',
]
zap delete: [
'~/Library/Application Support/Adobe/AIR',
'~/Library/Caches/com.adobe.air.ApplicationInstaller',
],
rmdir: '~/Library/Application Support/Adobe/'
end