2015-12-18 09:15:28 +08:00
|
|
|
cask 'flash' do
|
2015-12-29 03:39:21 +08:00
|
|
|
version '20.0.0.267'
|
|
|
|
sha256 '4810d26cfe29b699ec1b6179024108e115ab78c04fc4addcd50f4db8e7bc7f83'
|
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
|
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'
|
2014-08-16 23:22:57 +08:00
|
|
|
homepage 'https://www.adobe.com/products/flashplayer/distribution3.html'
|
2015-02-03 19:11:03 +08:00
|
|
|
license :gratis
|
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
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall pkgutil: 'com.adobe.pkg.FlashPlayer',
|
|
|
|
delete: '/Library/Internet Plug-Ins/Flash Player.plugin'
|
2016-01-04 03:18:20 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
zap delete: [
|
|
|
|
'~/Library/Caches/Adobe/Flash Player',
|
|
|
|
'~/Library/Logs/FlashPlayerInstallManager.log',
|
|
|
|
]
|
2013-10-08 11:55:02 +08:00
|
|
|
end
|