forked from Homebrew/homebrew-cask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathflash-ppapi.rb
23 lines (18 loc) · 933 Bytes
/
flash-ppapi.rb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cask 'flash-ppapi' do
version '32.0.0.255'
sha256 '5b89ac74e1b16f745519f47565f748a3a4005e8cbc2f4787089b229d047cb998'
url "https://fpdownload.adobe.com/pub/flashplayer/pdc/#{version}/install_flash_player_osx_ppapi.dmg"
appcast 'https://fpdownload.adobe.com/pub/flashplayer/update/current/xml/version_en_mac_pep.xml',
configuration: version.tr('.', ',')
name 'Adobe Flash Player PPAPI (plugin for Opera and Chromium)'
homepage 'https://get.adobe.com/flashplayer/otherversions/'
auto_updates true
pkg 'Install Adobe Pepper Flash Player.app/Contents/Resources/Adobe Flash Player.pkg'
uninstall pkgutil: 'com.adobe.pkg.PepperFlashPlayer',
launchctl: 'com.adobe.fpsaud',
delete: '/Library/Internet Plug-Ins/PepperFlashPlayer'
zap trash: [
'~/Library/Caches/Adobe/Flash Player',
'~/Library/Logs/FlashPlayerInstallManager.log',
]
end