homebrew-cask/Casks/flash-npapi.rb

22 lines
987 B
Ruby

cask 'flash-npapi' do
version '25.0.0.127'
sha256 'e77d5eb5bdd98f1b8ee392812af6dbfea706303c01238ce2c5f9100b1eb057f6'
# 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: '2b1fead2874fc8798351dec188583692bc626fdfd45585b0e4d40edbae70ceb1'
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