25 lines
998 B
Ruby
25 lines
998 B
Ruby
cask 'flash-npapi' do
|
|
version '30.0.0.113'
|
|
sha256 'd3cdfe22408ed1ae1308b1677c75fb578e7e02b9e28562ead181912c075e85ff'
|
|
|
|
# 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'
|
|
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
|