homebrew-cask/Casks/flash.rb

21 lines
828 B
Ruby
Raw Normal View History

2014-11-14 01:25:51 +08:00
cask :v1 => 'flash' do
2015-12-09 22:46:36 +08:00
version '20.0.0.235'
sha256 'ee6c197709583b4c38d8fed6b31a049e99c5a23136c84e77394bf11b810ffd9b'
2015-01-18 03:01:27 +08:00
# macromedia.com is the official download host per the vendor homepage
2015-06-29 14:32:18 +08:00
url "https://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_player_#{version.to_i}_osx_pkg.dmg"
2015-01-05 05:14:26 +08:00
name 'Adobe Flash Player'
homepage 'https://www.adobe.com/products/flashplayer/distribution3.html'
license :gratis
2015-01-05 05:14:26 +08:00
tags :vendor => 'Adobe'
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