homebrew-cask/Casks/flash.rb

21 lines
828 B
Ruby

cask :v1 => 'flash' do
version '18.0.0.203'
sha256 '51f381700ff0d9a80daf33b69f3b8d4110d95cc5d7ec76b1f5980075d75ef0a4'
# macromedia.com is the official download host per the vendor homepage
url "https://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_player_#{version.to_i}_osx_pkg.dmg"
name 'Adobe Flash Player'
homepage 'https://www.adobe.com/products/flashplayer/distribution3.html'
license :gratis
tags :vendor => 'Adobe'
pkg 'Install Adobe Flash Player.pkg'
uninstall :pkgutil => 'com.adobe.pkg.FlashPlayer',
:delete => '/Library/Internet Plug-Ins/Flash Player.plugin'
zap :delete => [
'~/Library/Caches/Adobe/Flash Player',
'~/Library/Logs/FlashPlayerInstallManager.log',
]
end