21 lines
913 B
Ruby
21 lines
913 B
Ruby
cask 'google-earth-pro' do
|
|
version '7.3.1.4505'
|
|
sha256 '7b29eddc19bc2df91a279db4642eabb9a92055f1bcfe90ace733a8c02a64fcec'
|
|
|
|
url 'https://dl.google.com/earth/client/advanced/current/GoogleEarthProMac-Intel.dmg'
|
|
name 'Google Earth Pro'
|
|
homepage 'https://www.google.com/earth/'
|
|
|
|
pkg "Install Google Earth Pro #{version}.pkg"
|
|
|
|
uninstall pkgutil: 'com.Google.GoogleEarthPro'
|
|
|
|
zap trash: [
|
|
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.googleearthpro.sfl*',
|
|
'~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.googleearthupdatehelper.sfl*',
|
|
'~/Library/Application Support/Google Earth',
|
|
'~/Library/Caches/Google Earth',
|
|
'~/Library/Caches/com.Google.GoogleEarthPro',
|
|
]
|
|
end
|