homebrew-cask/Casks/silverlight.rb

21 lines
773 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'silverlight' do
2016-01-18 04:21:19 +08:00
version '5.1.41212.0'
sha256 :no_check # required as upstream package is updated in-place
2016-01-18 04:21:19 +08:00
url 'https://download.microsoft.com/download/5/3/D/53D3880B-25F8-4714-A4AC-E463A492F96E/41212.00/Silverlight.dmg'
2015-03-16 08:21:29 +08:00
name 'Silverlight'
2015-06-29 14:32:18 +08:00
homepage 'https://www.microsoft.com/silverlight/'
license :gratis
pkg 'silverlight.pkg'
2014-10-11 22:33:05 +08:00
uninstall pkgutil: 'com.microsoft.SilverlightInstaller'
zap delete: [
'~/Library/Application Support/Microsoft/Silverlight',
'~/Library/Preferences/com.microsoft.silverlight.plist',
'~/Library/Saved Application State/com.microsoft.silverlight.savedState',
],
rmdir: '~/Library/Application Support/Microsoft/'
2013-08-07 08:20:21 +08:00
end