<commit_before>cask "electerm" do
  arch = Hardware::CPU.intel? ? "x64" : "arm64"

  version "1.20.4"

  if Hardware::CPU.intel?
    sha256 "d6b9971ee89d404826002cc6d3500ebb76e2d3b30e61b2494b33b371923c20a9"
  else
    sha256 "769280488ec3a48496e157488ab1a35af0373aa3e694b84955dfdf24a489dd66"
  end

  url "https://github.com/electerm/electerm/releases/download/v#{version}/electerm-#{version}-mac-#{arch}.dmg"
  name "electerm"
  desc "Terminal/ssh/sftp client"
  homepage "https://github.com/electerm/electerm/"

  auto_updates true

  app "electerm.app"
  binary "#{appdir}/electerm.app/Contents/MacOS/electerm"

  zap trash: [
    "~/Library/Application Support/electerm",
    "~/Library/Logs/electerm",
    "~/Library/Preferences/org.electerm.electerm.plist",
    "~/Library/Saved Application State/org.electerm.electerm.savedState",
  ]
end
<commit_msg>Update electerm from 1.20.4 to 1.20.6 (#121133)<commit_after>cask "electerm" do
  arch = Hardware::CPU.intel? ? "x64" : "arm64"

  version "1.20.6"

  if Hardware::CPU.intel?
    sha256 "2b92bf43ff96babc5e3f9df7c3663790ec900bd577573c69d5c048d5bc06515c"
  else
    sha256 "3b984b7d28fe2c35f3d4a99ccf3e3511be8196b3a89db351be47eab2db93d2f1"
  end

  url "https://github.com/electerm/electerm/releases/download/v#{version}/electerm-#{version}-mac-#{arch}.dmg"
  name "electerm"
  desc "Terminal/ssh/sftp client"
  homepage "https://github.com/electerm/electerm/"

  auto_updates true

  app "electerm.app"
  binary "#{appdir}/electerm.app/Contents/MacOS/electerm"

  zap trash: [
    "~/Library/Application Support/electerm",
    "~/Library/Logs/electerm",
    "~/Library/Preferences/org.electerm.electerm.plist",
    "~/Library/Saved Application State/org.electerm.electerm.savedState",
  ]
end

{'fraction_non_alphanumeric': 0.13885714285714285, 'fraction_numerical': 0.11714285714285715, 'mean_word_length': 4.4890282131661445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7173840', 'n_tokens_mistral': 827, 'n_tokens_neox': 707, 'n_words': 90}