<commit_before>cask "nota" do
  version "0.26.0"

  if Hardware::CPU.intel?
    sha256 "a07d8fb1e80cba7f409c042e90a2b38d728f4abe76776352638d6e8c67b0caaa"

    url "https://github.com/notaapp/releases/releases/download/#{version}/Nota-#{version}-mac.zip",
        verified: "github.com/notaapp/releases/"
  else
    sha256 "35211c21ccd8d4d8e6b6c7432fa9f3d13d19c4ab4f6aff40375e2bd037a99482"

    url "https://github.com/notaapp/releases/releases/download/#{version}/Nota-#{version}-arm64-mac.zip",
        verified: "github.com/notaapp/releases/"
  end

  name "Nota"
  desc "Markdown files editor"
  homepage "https://nota.md/"

  auto_updates true

  app "Nota.app"
  binary "#{appdir}/Nota.app/Contents/Resources/app.asar.unpacked/assets/nota.sh", target: "nota"

  zap trash: [
    "~/Library/Application Support/Nota",
    "~/Library/Caches/md.nota.macos",
    "~/Library/Caches/md.nota.macos.ShipIt",
    "~/Library/Logs/Nota",
    "~/Library/Preferences/md.nota.macos.plist",
    "~/Library/Saved Application State/md.nota.macos.savedState",
  ]
end<commit_msg>Update nota from 0.26.0 to 0.30.0 (#108205)<commit_after>cask "nota" do
  version "0.30.0"

  if Hardware::CPU.intel?
    sha256 "c4cf8b5ca66999dd7226d0e854ced7f7318415df3a7dfdee689d7e250f682a4e"

    url "https://github.com/notaapp/releases/releases/download/#{version}/Nota-#{version}-mac.zip",
        verified: "github.com/notaapp/releases/"
  else
    sha256 "3f54464561409899eb1945e7a741f59b0b6dd175c43fb74b19877e8d90574a43"

    url "https://github.com/notaapp/releases/releases/download/#{version}/Nota-#{version}-arm64-mac.zip",
        verified: "github.com/notaapp/releases/"
  end

  name "Nota"
  desc "Markdown files editor"
  homepage "https://nota.md/"

  auto_updates true

  app "Nota.app"
  binary "#{appdir}/Nota.app/Contents/Resources/app.asar.unpacked/assets/nota.sh", target: "nota"

  zap trash: [
    "~/Library/Application Support/Nota",
    "~/Library/Caches/md.nota.macos",
    "~/Library/Caches/md.nota.macos.ShipIt",
    "~/Library/Logs/Nota",
    "~/Library/Preferences/md.nota.macos.plist",
    "~/Library/Saved Application State/md.nota.macos.savedState",
  ]
end
{'fraction_non_alphanumeric': 0.15587419056429233, 'fraction_numerical': 0.09204440333024977, 'mean_word_length': 3.8606741573033707, '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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3458055', 'n_tokens_mistral': 1017, 'n_tokens_neox': 880, 'n_words': 103}