2015-12-18 09:15:28 +08:00
|
|
|
cask 'google-earth' do
|
2017-01-31 22:12:19 +08:00
|
|
|
version '7.1.8.3036'
|
|
|
|
sha256 'a6cdb98e2caf0162c425b1acc0dab6196a220bf59eef378624b8b7c60a22bf18'
|
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/'
|
|
|
|
|
2017-01-31 22:12:19 +08:00
|
|
|
pkg "Install Google Earth Free #{version}.pkg"
|
2015-04-29 04:11:21 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
uninstall pkgutil: [
|
|
|
|
'com.Google.GoogleEarthPlus',
|
|
|
|
'com.Google.GoogleEarthPlugin.plugin',
|
|
|
|
]
|
2016-01-04 03:18:28 +08:00
|
|
|
|
2016-01-18 09:27:20 +08:00
|
|
|
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
|