forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathadobe-air.rb
24 lines (20 loc) · 817 Bytes
/
adobe-air.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cask 'adobe-air' do
version '22.0'
sha256 :no_check # required as upstream package is updated in-place
url "https://airdownload.adobe.com/air/mac/download/#{version}/AdobeAIR.dmg"
name 'Adobe AIR'
homepage 'https://get.adobe.com/air/'
license :gratis
installer script: 'Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer',
args: %w[-silent],
sudo: true
uninstall script: {
executable: 'Adobe AIR Installer.app/Contents/MacOS/Adobe AIR Installer',
args: %w[-uninstall],
}
zap delete: [
'~/Library/Application Support/Adobe/AIR',
'~/Library/Caches/com.adobe.air.ApplicationInstaller',
],
rmdir: '~/Library/Application Support/Adobe/'
end