21 lines
925 B
Ruby
21 lines
925 B
Ruby
cask :v1 => 'flash' do
|
|
version '16.0.0.296'
|
|
sha256 '0c9715a9eb70b2e6fb324da675c4cadfc7a9845dfc8ecc0b5745ac7a80de0509'
|
|
|
|
# macromedia.com is the official download host per the vendor homepage
|
|
url "http://fpdownload.macromedia.com/get/flashplayer/current/licensing/mac/install_flash_player_#{version.to_i}_osx_pkg.dmg"
|
|
name 'Adobe Flash Player'
|
|
homepage 'https://www.adobe.com/products/flashplayer/distribution3.html'
|
|
license :unknown # todo: change license and remove this comment; ':unknown' is a machine-generated placeholder
|
|
tags :vendor => 'Adobe'
|
|
|
|
pkg 'Install 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
|