<commit_before>cask 'google-chrome-canary' do
  version :latest
  sha256 :no_check

  url 'https://dl.google.com/release2/q/canary/googlechrome.dmg'
  name 'Google Chrome Canary'
  homepage 'https://www.google.com/chrome/browser/canary.html?platform=mac'

  depends_on macos: '>= :mavericks'

  app 'Google Chrome Canary.app'

  uninstall launchctl:  [
                          'com.google.keystone.agent',
                          'com.google.keystone.daemon',
                        ],
            login_item: 'Google Chrome Canary'

  zap trash: [
               '/Library/Caches/com.google.SoftwareUpdate.*',
               '/Library/Google/Google Chrome Brand.plist',
               '/Library/Google/GoogleSoftwareUpdate',
               '~/Library/Application Support/Google/Chrome Canary',
               '~/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.*',
               '~/Library/Caches/com.google.Keystone',
               '~/Library/Caches/com.google.Keystone.Agent',
               '~/Library/Caches/com.google.SoftwareUpdate',
               '~/Library/Google/Google Chrome Brand.plist',<commit_msg>Revert "Add google-chrome-canary login item uninstallation" (#6535)<commit_after>cask 'google-chrome-canary' do
  version :latest
  sha256 :no_check

  url 'https://dl.google.com/release2/q/canary/googlechrome.dmg'
  name 'Google Chrome Canary'
  homepage 'https://www.google.com/chrome/browser/canary.html?platform=mac'

  depends_on macos: '>= :mavericks'

  app 'Google Chrome Canary.app'

  uninstall launchctl: [
                         'com.google.keystone.agent',
                         'com.google.keystone.daemon',
                       ]

  zap trash: [
               '/Library/Caches/com.google.SoftwareUpdate.*',
               '/Library/Google/Google Chrome Brand.plist',
               '/Library/Google/GoogleSoftwareUpdate',
               '~/Library/Application Support/Google/Chrome Canary',
               '~/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.*',
               '~/Library/Caches/com.google.Keystone',
               '~/Library/Caches/com.google.Keystone.Agent',
               '~/Library/Caches/com.google.SoftwareUpdate',
               '~/Library/Google/Google Chrome Brand.plist',
{'fraction_non_alphanumeric': 0.13261296660117877, 'fraction_numerical': 0.003929273084479371, 'mean_word_length': 2.2814178302900108, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4865580', 'n_tokens_mistral': 941, 'n_tokens_neox': 868, 'n_words': 109}