2014-11-14 01:25:51 +08:00
|
|
|
cask :v1 => 'flash' do
|
2015-01-25 22:26:35 +08:00
|
|
|
version '16.0.0.296'
|
|
|
|
sha256 '0c9715a9eb70b2e6fb324da675c4cadfc7a9845dfc8ecc0b5745ac7a80de0509'
|
2014-06-27 08:01:11 +08:00
|
|
|
|
2015-01-18 03:01:27 +08:00
|
|
|
# macromedia.com is the official download host per the vendor homepage
|
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"
|
2015-01-05 05:14:26 +08:00
|
|
|
name 'Adobe Flash Player'
|
2014-08-16 23:22:57 +08:00
|
|
|
homepage 'https://www.adobe.com/products/flashplayer/distribution3.html'
|
2014-12-20 21:46:09 +08:00
|
|
|
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
|
2015-01-05 05:14:26 +08:00
|
|
|
tags :vendor => 'Adobe'
|
2014-06-27 08:01:11 +08:00
|
|
|
|
2014-09-10 23:37:01 +08:00
|
|
|
pkg 'Install Adobe Flash Player.pkg'
|
2014-10-11 22:27:09 +08:00
|
|
|
|
2014-01-29 23:44:28 +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
|