From bacba1be5581d6d6574c1722a3e101a1c19b21b0 Mon Sep 17 00:00:00 2001 From: Conan1985 Date: Sat, 27 May 2017 01:46:54 -0400 Subject: [PATCH] Add Adobe Air Beta 26.0. (#3915) --- Casks/adobe-air-beta.rb | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 Casks/adobe-air-beta.rb diff --git a/Casks/adobe-air-beta.rb b/Casks/adobe-air-beta.rb new file mode 100644 index 000000000..d276d55f4 --- /dev/null +++ b/Casks/adobe-air-beta.rb @@ -0,0 +1,32 @@ +cask 'adobe-air-beta' do + version '26.0' + sha256 '916ce21b6180133de686f553c7fa492edc67541aebb657301859a3d0ce1195dc' + + # fpdownload.macromedia.com was verified as official when first introduced to the cask + url 'https://fpdownload.macromedia.com/pub/labs/flashruntimes/air/AdobeAIR.dmg' + name 'Adobe AIR Beta' + homepage 'http://labs.adobe.com/downloads/air.html' + + installer script: { + executable: '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], + 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