<commit_before>cask "iterm2" do
  # NOTE: "2" is not a version number, but an intrinsic part of the product name
  if MacOS.version <= :high_sierra
    version "3.3.12"
    sha256 "6811b520699e8331b5d80b5da1e370e0ed467e68bc56906f08ecfa986e318167"
  else
    version "3.4.10"
    sha256 "40a62193582dd7c54e6f27e509bdb887ec864513b53d4003763d9e167e44a921"
  end

  url "https://iterm2.com/downloads/stable/iTerm2-#{version.dots_to_underscores}.zip"
  name "iTerm2"
  desc "Terminal emulator as alternative to Apple's Terminal app"
  homepage "https://www.iterm2.com/"

  livecheck do
    # workaround for
    # - https://github.com/Homebrew/homebrew-cask/pull/104019
    # - https://github.com/gnachman/iterm2-website/issues/82
    # url "https://iterm2.com/appcasts/final_modern.xml"
    url "https://raw.githubusercontent.com/gnachman/iterm2-website/master/source/appcasts/final_modern.xml"
    strategy :sparkle
  end

  auto_updates true
  conflicts_with cask: [
    "homebrew/cask-versions/iterm2-beta",
    "homebrew/cask-versions/iterm2-legacy",<commit_msg>Update iterm2 from 3.4.10 to 3.4.11 (#113184)<commit_after>cask "iterm2" do
  # NOTE: "2" is not a version number, but an intrinsic part of the product name
  if MacOS.version <= :high_sierra
    version "3.3.12"
    sha256 "6811b520699e8331b5d80b5da1e370e0ed467e68bc56906f08ecfa986e318167"
  else
    version "3.4.11"
    sha256 "0d27df194a23f1c7fa13fb0e1319afa687c7c8816647af0f6754bb82a7055d6b"
  end

  url "https://iterm2.com/downloads/stable/iTerm2-#{version.dots_to_underscores}.zip"
  name "iTerm2"
  desc "Terminal emulator as alternative to Apple's Terminal app"
  homepage "https://www.iterm2.com/"

  livecheck do
    # workaround for
    # - https://github.com/Homebrew/homebrew-cask/pull/104019
    # - https://github.com/gnachman/iterm2-website/issues/82
    # url "https://iterm2.com/appcasts/final_modern.xml"
    url "https://raw.githubusercontent.com/gnachman/iterm2-website/master/source/appcasts/final_modern.xml"
    strategy :sparkle
  end

  auto_updates true
  conflicts_with cask: [
    "homebrew/cask-versions/iterm2-beta",
    "homebrew/cask-versions/iterm2-legacy",
{'fraction_non_alphanumeric': 0.11374187558031569, 'fraction_numerical': 0.11838440111420613, 'mean_word_length': 3.976905311778291, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 12, 'lorem ipsum': 0, 'www.': 2, 'xml': 4}, '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': '7507733', 'n_tokens_mistral': 992, 'n_tokens_neox': 848, 'n_words': 135}