2016-10-14 02:49:11 +08:00
|
|
|
cask 'flash-npapi' do
|
2017-05-10 10:26:29 +08:00
|
|
|
version '25.0.0.171'
|
|
|
|
sha256 '05f487800c3b9d5e0b09b0c30d937a4575a44a95c89f4d73088bcfb2335f409f'
|
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-10-04 02:39:53 +08:00
|
|
|
url "https://fpdownload.adobe.com/get/flashplayer/pdc/#{version}/install_flash_player_osx.dmg"
|
2016-02-15 03:21:45 +08:00
|
|
|
appcast 'http://fpdownload2.macromedia.com/get/flashplayer/update/current/xml/version_en_mac_pl.xml',
|
2017-05-10 10:26:29 +08:00
|
|
|
checkpoint: 'bc60c681da9e15721efefa90e1ed00d341c6774a91d8fe182c81348c826c5dee'
|
2016-10-14 02:49:11 +08:00
|
|
|
name 'Adobe Flash Player NPAPI (plugin for Safari and Firefox)'
|
2016-11-21 08:44:45 +08:00
|
|
|
homepage 'https://get.adobe.com/flashplayer/'
|
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',
|
2017-04-11 07:26:00 +08:00
|
|
|
'/Library/Internet Plug-Ins/flashplayer.xpt',
|
2016-01-18 09:27:20 +08:00
|
|
|
]
|
2013-10-08 11:55:02 +08:00
|
|
|
end
|