diff --git a/Casks/google-chrome-dev.rb b/Casks/google-chrome-dev.rb index abb3d937a..a8bd146f7 100644 --- a/Casks/google-chrome-dev.rb +++ b/Casks/google-chrome-dev.rb @@ -8,17 +8,39 @@ cask 'google-chrome-dev' do app 'Google Chrome.app' + uninstall launchctl: [ + 'com.google.keystone.agent', + 'com.google.keystone.daemon', + ] + zap delete: [ - '~/Library/Application Support/Google/Chrome', + '/Library/Google/GoogleSoftwareUpdate', + '/Library/Google/Google Chrome Brand.plist', + '/Library/Caches/com.google.SoftwareUpdate.*', + '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.chrome.app.*.sfl*', + '~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/com.google.chrome.sfl*', '~/Library/Caches/Google/Chrome', '~/Library/Caches/com.google.Chrome', - '~/Library/Caches/com.google.Chrome.helper.EH', + '~/Library/Caches/com.google.Chrome.helper.*', + '~/Library/Caches/com.google.Keystone', '~/Library/Caches/com.google.Keystone.Agent', '~/Library/Caches/com.google.SoftwareUpdate', '~/Library/Google/GoogleSoftwareUpdate', + '~/Library/Google/Google Chrome Brand.plist', + '~/Library/LaunchAgents/com.google.keystone.agent.plist', '~/Library/Logs/GoogleSoftwareUpdateAgent.log', + '~/Library/Saved Application State/com.google.Chrome.app.*.savedState', + '~/Library/Saved Application State/com.google.Chrome.savedState', + '~/Library/WebKit/com.google.Chrome', + ], + trash: [ + '~/Library/Application Support/Google/Chrome', + '~/Library/Preferences/com.google.Chrome.plist', + '~/Library/Preferences/com.google.Keystone.Agent.plist', ], rmdir: [ + '/Library/Google', + '~/Library/Application Support/Google', '~/Library/Caches/Google', '~/Library/Google', ]