From 4ffa27349d3e500d8387cfd636781650011e517a Mon Sep 17 00:00:00 2001 From: miccal Date: Mon, 13 Nov 2017 12:21:44 +0800 Subject: [PATCH] Update google-chrome-canary to latest (#4751) * Update google-chrome-canary to latest * Update google-chrome-canary.rb * Update google-chrome-canary.rb * Update google-chrome-canary.rb --- Casks/google-chrome-canary.rb | 26 ++++++++++++++++++++++++-- 1 file changed, 24 insertions(+), 2 deletions(-) diff --git a/Casks/google-chrome-canary.rb b/Casks/google-chrome-canary.rb index 4c65d54cf..f20942892 100644 --- a/Casks/google-chrome-canary.rb +++ b/Casks/google-chrome-canary.rb @@ -10,17 +10,39 @@ cask 'google-chrome-canary' do app 'Google Chrome Canary.app' + uninstall launchctl: [ + 'com.google.keystone.agent', + 'com.google.keystone.daemon', + ] + zap delete: [ - '~/Library/Application Support/Google/Chrome Canary', + '/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 Canary', '~/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 Canary', + '~/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', ]