25 lines
1.0 KiB
Ruby
25 lines
1.0 KiB
Ruby
cask 'flash-npapi' do
|
|
version '27.0.0.187'
|
|
sha256 'f9fb07154525746ce23fc5dcf8f247c87ee9ca357fcae1ae9f063a8c448b2141'
|
|
|
|
# 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: '26279ca81dea1717dec4c2d638ee46a14c9caa731f6bd2bc9ac35380bdef0ec9'
|
|
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',
|
|
delete: '/Library/Internet Plug-Ins/Flash Player.plugin'
|
|
|
|
zap delete: [
|
|
'~/Library/Caches/Adobe/Flash Player',
|
|
'~/Library/Logs/FlashPlayerInstallManager.log',
|
|
'/Library/Internet Plug-Ins/flashplayer.xpt',
|
|
]
|
|
end
|