<commit_before>cask 'trezor-bridge' do
  version '2.0.27'
  sha256 'a8a5352f888467cb1bc3b4273ee26c7f0da2a58f60e31aeffea46153aa03be07'

  url "https://wallet.trezor.io/data/bridge/#{version}/trezor-bridge-#{version}.pkg"
  appcast 'https://wallet.trezor.io/data/bridge/latest.txt'
  name 'TREZOR Bridge'
  homepage 'https://wallet.trezor.io/'

  pkg "trezor-bridge-#{version}.pkg"

  uninstall pkgutil:   'com.bitcointrezor.pkg.TREZORBridge*',
            launchctl: 'com.bitcointrezor.trezorBridge.trezord'
end<commit_msg>trezor-bridge: clean up a few leftovers (#82309)<commit_after>cask 'trezor-bridge' do
  version '2.0.27'
  sha256 'a8a5352f888467cb1bc3b4273ee26c7f0da2a58f60e31aeffea46153aa03be07'

  url "https://wallet.trezor.io/data/bridge/#{version}/trezor-bridge-#{version}.pkg"
  appcast 'https://wallet.trezor.io/data/bridge/latest.txt'
  name 'TREZOR Bridge'
  homepage 'https://wallet.trezor.io/'

  pkg "trezor-bridge-#{version}.pkg"

  uninstall pkgutil:   'com.bitcointrezor.pkg.TREZORBridge*',
            launchctl: 'com.bitcointrezor.trezorBridge.trezord',
            delete:    '/Applications/Utilities/TREZOR Bridge'

  zap trash: '~/Library/Logs/trezord.log'
end
{'fraction_non_alphanumeric': 0.1433389544688027, 'fraction_numerical': 0.07841483979763912, 'mean_word_length': 4.322869955156951, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, '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': '773047', 'n_tokens_mistral': 549, 'n_tokens_neox': 500, 'n_words': 59}