homebrew-cask/Casks/google-earth.rb

25 lines
790 B
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'google-earth' do
2014-09-17 19:42:46 +08:00
version :latest
2014-05-08 20:51:31 +08:00
sha256 :no_check
url 'https://dl.google.com/earth/client/advanced/current/GoogleEarthMac-Intel.dmg'
2015-04-01 04:16:39 +08:00
name 'Google Earth'
homepage 'https://www.google.com/earth/'
license :gratis
2015-04-29 04:11:21 +08:00
pkg 'Install Google Earth.pkg'
uninstall :pkgutil => [
'com.Google.GoogleEarthPlus',
'com.Google.GoogleEarthPlugin.plugin',
]
zap :delete => [
'~/Library/Application Support/Google Earth',
'~/Library/Caches/com.Google.GoogleEarthPlus',
'~/Library/Caches/Google Earth',
'~/Library/Preferences/com.Google.GoogleEarthPlus.plist',
],
:rmdir => '~/Library/Caches/Google Earth'
end