22 lines
986 B
Ruby
22 lines
986 B
Ruby
cask 'flash-npapi' do
|
|
version '23.0.0.207'
|
|
sha256 '4efcbba793450411cda526786590123229196f4c858066da2722f83a1313f019'
|
|
|
|
# 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: '50c4e19caa48710cf812e1549e5179124552b4bf760dc9aa719e09dd86d10fbe'
|
|
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
|