homebrew-cask/Casks/flash-npapi.rb

26 lines
1.1 KiB
Ruby

cask 'flash-npapi' do
version '29.0.0.171'
sha256 '66c96d343af3bec3d4a76137ed62af35d844c7e5f2a905f878ed9806fe714baf'
# 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: 'a8b1088272513abecdf52195eed55c7e5247ec8bc82de741c3aa1060099220be'
name 'Adobe Flash Player NPAPI (plugin for Safari and Firefox)'
homepage 'https://get.adobe.com/flashplayer/'
auto_updates true
pkg 'Install Adobe Flash Player.app/Contents/Resources/Adobe Flash Player.pkg'
uninstall pkgutil: 'com.adobe.pkg.FlashPlayer',
launchctl: 'com.adobe.fpsaud',
delete: '/Library/Internet Plug-Ins/Flash Player.plugin'
zap trash: [
'~/Library/Caches/Adobe/Flash Player',
'~/Library/Logs/FlashPlayerInstallManager.log',
'/Library/Internet Plug-Ins/flashplayer.xpt',
]
end