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
|
2014-06-27 08:01:15 +08:00
|
|
|
|
|
|
|
url 'https://dl.google.com/earth/client/advanced/current/GoogleEarthMac-Intel.dmg'
|
2015-04-01 04:16:39 +08:00
|
|
|
name 'Google Earth'
|
2014-06-27 08:01:15 +08:00
|
|
|
homepage 'https://www.google.com/earth/'
|
2015-04-19 20:06:00 +08:00
|
|
|
license :gratis
|
2014-06-27 08:01:15 +08:00
|
|
|
|
2015-04-29 04:11:21 +08:00
|
|
|
pkg 'Install Google Earth.pkg'
|
|
|
|
|
|
|
|
uninstall :pkgutil => [
|
2016-01-04 03:18:28 +08:00
|
|
|
'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'
|
2013-07-23 18:01:52 +08:00
|
|
|
end
|