2015-12-18 09:15:28 +08:00
|
|
|
cask 'flash' do
|
2016-06-18 00:38:49 +08:00
|
|
|
version '22.0.0.192'
|
|
|
|
sha256 'ce1679526d5e5b6dce7b05c5115d0388b96f18e7972d990fb15b4979e6b6920a'
|
2014-06-27 08:01:11 +08:00
|
|
|
|
2016-02-14 08:43:43 +08:00
|
|
|
# macromedia.com was verified as official when first introduced to the cask
|
2016-02-15 03:21:45 +08:00
|
|
|
url "http://fpdownload.macromedia.com/get/flashplayer/pdc/#{version}/install_flash_player_osx.dmg"
|
|
|
|
appcast 'http://fpdownload2.macromedia.com/get/flashplayer/update/current/xml/version_en_mac_pl.xml',
|
2016-06-18 00:38:49 +08:00
|
|
|
checkpoint: 'cd1cc6b42488cc6931c0554f41159f93a4b8383af4e72366610ee47f6b33b1ed'
|
2015-01-05 05:14:26 +08:00
|
|
|
name 'Adobe Flash Player'
|
2016-02-15 03:21:45 +08:00
|
|
|
homepage 'https://get.adobe.com/flashplayer'
|
2015-02-03 19:11:03 +08:00
|
|
|
license :gratis
|
2014-06-27 08:01:11 +08:00
|
|
|
|
2016-02-15 03:21:45 +08:00
|
|
|
pkg 'Install Adobe Flash Player.app/Contents/Resources/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
|