<commit_before>cask "touchosc-editor" do
  version "1.8.9"
  sha256 "59e9992f29569b950dfeea397814e88cea5b45b1ed7ddaa8f748774ac6db6db7"

  url "https://hexler.net/pub/touchosc/touchosc-editor-#{version}-macos.zip"
  appcast "https://hexler.net/software/touchosc"
  name "TouchOSC Editor"
  desc "Modular touch control surface editor for OSC & MIDI"
  homepage "https://hexler.net/software/touchosc"

  app "touchosc-editor-#{version}-macos/TouchOSC Editor.app"
  artifact "touchosc-editor-#{version}-macos/layouts",
           target: Pathname.new(File.expand_path("~")).join("Library/Application Support/TouchOSCEditor/layouts")

  zap trash: "~/Library/*/*TouchOSCEditor*"
end<commit_msg>touchosc-editor: add livecheck (#97894)<commit_after>cask "touchosc-editor" do
  version "1.8.9"
  sha256 "59e9992f29569b950dfeea397814e88cea5b45b1ed7ddaa8f748774ac6db6db7"

  url "https://hexler.net/pub/touchosc/touchosc-editor-#{version}-macos.zip"
  name "TouchOSC Editor"
  desc "Modular touch control surface editor for OSC & MIDI"
  homepage "https://hexler.net/software/touchosc"

  livecheck do
    url :homepage
    strategy :page_match
    regex(%r{href=.*?/touchosc-editor-(\d+(?:\.\d+)*)-macos\.zip}i)
  end

  app "touchosc-editor-#{version}-macos/TouchOSC Editor.app"
  artifact "touchosc-editor-#{version}-macos/layouts",
           target: Pathname.new(File.expand_path("~")).join("Library/Application Support/TouchOSCEditor/layouts")

  zap trash: "~/Library/*/*TouchOSCEditor*"
end
{'fraction_non_alphanumeric': 0.1485215053763441, 'fraction_numerical': 0.061155913978494625, 'mean_word_length': 4.81640625, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 5, 'lorem ipsum': 0, 'www.': 0, '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': '203968', 'n_tokens_mistral': 615, 'n_tokens_neox': 560, 'n_words': 82}