<commit_before>cask "jdownloader" do
  version "45663"
  sha256 :no_check

  url "http://installer.jdownloader.org/clean/JD2Setup.dmg",
      user_agent: :fake
  name "JDownloader"
  desc "Download manager"
  homepage "https://jdownloader.org/"

  livecheck do
    url "https://svn.jdownloader.org/build.php"
    regex(/Revision:.*?(\d+)[\s<]/i)
  end

  auto_updates true

  preflight do
    system_command "#{staged_path}/JDownloader Installer.app/Contents/MacOS/JavaApplicationStub",
                   args:         [
                     "-dir", appdir.to_s,<commit_msg>Update jdownloader from 45663 to 45681 (#120680)<commit_after>cask "jdownloader" do
  version "45681"
  sha256 :no_check

  url "http://installer.jdownloader.org/clean/JD2Setup.dmg",
      user_agent: :fake
  name "JDownloader"
  desc "Download manager"
  homepage "https://jdownloader.org/"

  livecheck do
    url "https://svn.jdownloader.org/build.php"
    regex(/Revision:.*?(\d+)[\s<]/i)
  end

  auto_updates true

  preflight do
    system_command "#{staged_path}/JDownloader Installer.app/Contents/MacOS/JavaApplicationStub",
                   args:         [
                     "-dir", appdir.to_s,
{'fraction_non_alphanumeric': 0.1308016877637131, 'fraction_numerical': 0.02869198312236287, 'mean_word_length': 2.7891373801916934, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 15, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5354151', 'n_tokens_mistral': 445, 'n_tokens_neox': 403, 'n_words': 73}