homebrew-cask/Casks/flash.rb

21 lines
925 B
Ruby

cask :v1 => 'flash' do
version '16.0.0.257'
sha256 '3a588a4725eebcf8f4fb82d9e942d5667eea12f81bbcffcfbd4c8102b0a6be99'
# macromedia.com is the official download host per the vendor homepage
url "http://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 :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
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