homebrew-cask/Casks/flash-npapi.rb

26 lines
1.1 KiB
Ruby
Raw Normal View History

cask 'flash-npapi' do
version '29.0.0.171'
sha256 '66c96d343af3bec3d4a76137ed62af35d844c7e5f2a905f878ed9806fe714baf'
2016-02-14 08:43:43 +08:00
# 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"
2016-02-15 03:21:45 +08:00
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
2016-02-15 03:21:45 +08:00
pkg 'Install Adobe Flash Player.app/Contents/Resources/Adobe Flash Player.pkg'
2014-10-11 22:27:09 +08:00
uninstall pkgutil: 'com.adobe.pkg.FlashPlayer',
launchctl: 'com.adobe.fpsaud',
delete: '/Library/Internet Plug-Ins/Flash Player.plugin'
2017-11-18 18:01:27 +08:00
zap trash: [
'~/Library/Caches/Adobe/Flash Player',
'~/Library/Logs/FlashPlayerInstallManager.log',
'/Library/Internet Plug-Ins/flashplayer.xpt',
]
2013-10-08 11:55:02 +08:00
end