2015-02-22 04:37:27 +08:00
|
|
|
cask :v1 => 'google-earth-pro' do
|
|
|
|
version :latest
|
|
|
|
sha256 :no_check
|
|
|
|
|
|
|
|
url 'https://dl.google.com/earth/client/advanced/current/GoogleEarthProMac-Intel.dmg'
|
2015-04-01 04:17:24 +08:00
|
|
|
name 'Google Earth Pro'
|
2015-02-22 04:37:27 +08:00
|
|
|
homepage 'https://www.google.com/earth/'
|
|
|
|
license :gratis
|
|
|
|
tags :vendor => 'Google'
|
|
|
|
|
2015-05-27 13:35:16 +08:00
|
|
|
pkg 'Install Google Earth.pkg'
|
|
|
|
|
|
|
|
uninstall :pkgutil => 'com.Google.GoogleEarthPro'
|
2015-02-22 04:37:27 +08:00
|
|
|
|
|
|
|
zap :delete => [
|
|
|
|
'~/Library/Application Support/Google Earth',
|
|
|
|
'~/Library/Caches/Google Earth',
|
|
|
|
'~/Library/Caches/com.Google.GoogleEarthPro',
|
|
|
|
]
|
|
|
|
|
|
|
|
caveats <<-EOS.undent
|
2015-03-08 12:02:03 +08:00
|
|
|
Using #{token} requires a license key. If you do not have a key, use your
|
2015-02-22 04:37:27 +08:00
|
|
|
email address and the key GEPFREE to sign in.
|
|
|
|
EOS
|
|
|
|
end
|