homebrew-cask/Casks/flash-npapi.rb

22 lines
987 B
Ruby

cask 'flash-npapi' do
version '24.0.0.221'
sha256 '163f8717e40cdea98cc9c2984fc8522537b8fef6ca5d356c48d52d0e8a63c29d'
# 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: 'b07017a15c35b22a55ddc34fe87200e707c39d98facfdde2b331860d2fe7916f'
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',
]
end