<commit_before>cask "descript" do
  arch = Hardware::CPU.intel? ? "" : "-arm64"

  version "41.1.1-release.20220616.4"

  if Hardware::CPU.intel?
    sha256 "08ec6b8b69f7e0aee610462a6b068afeb729dd1fea439978da11195f42993bf1"
  else
    sha256 "3e48a82edec40b0dd0969930edbfc7ec792d45c86ddd9b87cc58459aacf54fde"
  end

  url "https://electron.descript.com/Descript-#{version}#{arch}.dmg"
  name "Descript"
  desc "Audio and video editor"
  homepage "https://www.descript.com/"

  livecheck do
    url "https://electron.descript.com/master-mac.yml"
    strategy :electron_builder
  end

  auto_updates true

  app "Descript.app"

  zap trash: [
    "~/Library/Application Support/Descript",
    "~/Library/Caches/com.descript.beachcube",
    "~/Library/Caches/com.descript.beachcube.ShipIt",
    "~/Library/Caches/com.descript.Descript-Installer",
    "~/Library/Preferences/com.descript.beachcube.plist",
    "~/Library/Preferences/com.descript.Descript-Installer.plist",<commit_msg>descript 41.1.2-release.20220617.29<commit_after>cask "descript" do
  arch = Hardware::CPU.intel? ? "" : "-arm64"

  version "41.1.2-release.20220617.29"

  if Hardware::CPU.intel?
    sha256 "b48bdd9f96dfe01b4a04428265b37b918c5d976bc265806aac0aeda2cd9a24d5"
  else
    sha256 "53d3518b56e439b599b8e7afa019852020d1a64bb1c5a25660c99997f84d9053"
  end

  url "https://electron.descript.com/Descript-#{version}#{arch}.dmg"
  name "Descript"
  desc "Audio and video editor"
  homepage "https://www.descript.com/"

  livecheck do
    url "https://electron.descript.com/master-mac.yml"
    strategy :electron_builder
  end

  auto_updates true

  app "Descript.app"

  zap trash: [
    "~/Library/Application Support/Descript",
    "~/Library/Caches/com.descript.beachcube",
    "~/Library/Caches/com.descript.beachcube.ShipIt",
    "~/Library/Caches/com.descript.Descript-Installer",
    "~/Library/Preferences/com.descript.beachcube.plist",
    "~/Library/Preferences/com.descript.Descript-Installer.plist",
{'fraction_non_alphanumeric': 0.13666162380231972, 'fraction_numerical': 0.10690872415532023, 'mean_word_length': 4.207349081364829, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, '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': '7011177', 'n_tokens_mistral': 921, 'n_tokens_neox': 784, 'n_words': 94}