homebrew-cask/Casks/flash-npapi.rb

23 lines
1.0 KiB
Ruby

cask 'flash-npapi' do
version '25.0.0.171'
sha256 '05f487800c3b9d5e0b09b0c30d937a4575a44a95c89f4d73088bcfb2335f409f'
# macromedia.com was verified as official when first introduced to the cask
url "https://fpdownload.adobe.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',
checkpoint: 'bc60c681da9e15721efefa90e1ed00d341c6774a91d8fe182c81348c826c5dee'
name 'Adobe Flash Player NPAPI (plugin for Safari and Firefox)'
homepage 'https://get.adobe.com/flashplayer/'
pkg 'Install Adobe Flash Player.app/Contents/Resources/Adobe Flash Player.pkg'
uninstall pkgutil: 'com.adobe.pkg.FlashPlayer',
delete: '/Library/Internet Plug-Ins/Flash Player.plugin'
zap delete: [
'~/Library/Caches/Adobe/Flash Player',
'~/Library/Logs/FlashPlayerInstallManager.log',
'/Library/Internet Plug-Ins/flashplayer.xpt',
]
end