forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflash-npapi.rb
24 lines (19 loc) · 962 Bytes
/
flash-npapi.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
cask 'flash-npapi' do
version '32.0.0.255'
sha256 '07448510e5789d9f55cc536f233b2600e79e7cc5c1925aa24975b075fcbcca8b'
url "https://fpdownload.adobe.com/pub/flashplayer/pdc/#{version}/install_flash_player_osx.dmg"
appcast 'https://fpdownload.adobe.com/pub/flashplayer/update/current/xml/version_en_mac_pl.xml',
configuration: version.tr('.', ',')
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