homebrew-cask/Casks/flash.rb

18 lines
798 B
Ruby
Raw Normal View History

2014-11-14 01:25:51 +08:00
cask :v1 => 'flash' do
version '16.0.0.235'
sha256 'd47bdc510f35e35ecf5260e35f6c86a4750f95b8505841bc10e1b6a1af82d346'
2014-10-27 22:43:04 +08:00
url "http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_player_#{version.to_i}_osx_pkg.dmg"
homepage 'https://www.adobe.com/products/flashplayer/distribution3.html'
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
2014-09-10 23:37:01 +08:00
pkg 'Install Adobe Flash Player.pkg'
2014-10-11 22:27:09 +08:00
uninstall :pkgutil => 'com.adobe.pkg.FlashPlayer',
2014-09-18 19:57:56 +08:00
:delete => '/Library/Internet Plug-Ins/Flash Player.plugin'
2014-10-11 22:27:09 +08:00
zap :delete => [
'~/Library/Caches/Adobe/Flash Player',
'~/Library/Logs/FlashPlayerInstallManager.log',
]
2013-10-08 11:55:02 +08:00
end