<commit_before>cask "android-studio" do
  arch = Hardware::CPU.intel? ? "mac" : "mac_arm"

  version "2021.1.1.22"

  if Hardware::CPU.intel?
    sha256 "da8a991af9bb5cd1a5653912d6508ceca7964f8bff32b0b8d88a9385955cdece"
  else
    sha256 "f4691ddaec515935aed8c555a49c3496e30fd4ac74c73788f31d567770870393"
  end

  url "https://redirector.gvt1.com/edgedl/android/studio/install/#{version}/android-studio-#{version}-#{arch}.dmg",
      verified: "redirector.gvt1.com/edgedl/android/studio/"
  name "Android Studio"
  desc "Tools for building Android applications"
  homepage "https://developer.android.com/studio/"

  livecheck do
    url :homepage
    regex(/android[._-]studio[._-]v?(\d+(?:\.\d+)+)[._-]#{arch}\.dmg/i)
  end

  auto_updates true

  app "Android Studio.app"

  zap trash: [<commit_msg>Update android-studio from 2021.1.1.22 to 2021.1.1.23 (#121690)<commit_after>cask "android-studio" do
  arch = Hardware::CPU.intel? ? "mac" : "mac_arm"

  version "2021.1.1.23"

  if Hardware::CPU.intel?
    sha256 "ce85ddff4c39f3eaa0b314cffa5f23987e255cce5d7aa900281884643f0a2db3"
  else
    sha256 "f2ab09466927f338b2c1ff27635be7cf24b08191bccdeb63ee68b33a01d0a05c"
  end

  url "https://redirector.gvt1.com/edgedl/android/studio/install/#{version}/android-studio-#{version}-#{arch}.dmg",
      verified: "redirector.gvt1.com/edgedl/android/studio/"
  name "Android Studio"
  desc "Tools for building Android applications"
  homepage "https://developer.android.com/studio/"

  livecheck do
    url :homepage
    regex(/android[._-]studio[._-]v?(\d+(?:\.\d+)+)[._-]#{arch}\.dmg/i)
  end

  auto_updates true

  app "Android Studio.app"

  zap trash: [
{'fraction_non_alphanumeric': 0.1513317191283293, 'fraction_numerical': 0.12590799031476999, 'mean_word_length': 4.19811320754717, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, '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': '6164406', 'n_tokens_mistral': 803, 'n_tokens_neox': 692, 'n_words': 96}