homebrew-cask/Casks/google-chrome.rb

34 lines
1.3 KiB
Ruby
Raw Normal View History

2014-11-14 01:25:57 +08:00
cask :v1 => 'google-chrome' 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/chrome/mac/stable/GGRO/googlechrome.dmg'
homepage 'https://www.google.com/chrome/'
2014-12-10 21:49:33 +08:00
license :unknown # todo: improve this machine-generated value
tags :vendor => 'Google'
2014-09-16 00:05:39 +08:00
app 'Google Chrome.app'
2014-10-11 22:27:44 +08:00
zap :delete => [
'~/Library/Application Support/Google/Chrome',
'~/Library/Caches/Google/Chrome',
'~/Library/Caches/com.google.Chrome',
'~/Library/Caches/com.google.Chrome.helper.EH',
'~/Library/Caches/com.google.Keystone.Agent',
'~/Library/Caches/com.google.SoftwareUpdate',
'~/Library/Google/GoogleSoftwareUpdate',
'~/Library/Logs/GoogleSoftwareUpdateAgent.log',
],
:rmdir => [
'~/Library/Caches/Google',
'~/Library/Google',
]
caveats <<-EOS.undent
The Mac App Store version of 1Password won't work with a Homebrew-Cask-linked Google Chrome. To bypass this limitation, you need to either:
+ Move Google Chrome to your /Applications directory (the app itself, not a symlink).
+ Install 1Password from outside the Mac App Store (licenses should transfer automatically, but you should contact AgileBits about it).
EOS
end