<commit_before>cask "orion" do
  version "0.99,118.1"

  if MacOS.version <= :mojave
    macos_version_string = "10_14"
    sha256 "b5b499d6f1b2c9f9345c353ce4d7c2a647bd6e365481a1f612c49b4991f6e279"
  elsif MacOS.version <= :catalina
    macos_version_string = "10_15"
    sha256 "bf2de654537799558b3df01d85bdf494a75cd7b7ecad06d5985afb6cec9a6ff9"
  elsif MacOS.version <= :big_sur
    macos_version_string = "11_0"
    sha256 "da7b8fc8c78e5c9ffb0cdfa252cf67152dd15ffb4fb14548ffd1e2ec2fc4471e"
  else
    macos_version_string = "12_0"
    sha256 "e703ef76d095ce89ca9775d1682f228a5afc6f13ed3f24b0b994fbb87621c02a"
  end
  url "https://browser.kagi.com/updates/#{macos_version_string}/#{version.csv.second}.zip"
  name "Orion Browser"
  desc "WebKit based web browser"
  homepage "https://browser.kagi.com/"

  livecheck do
    url "https://browser.kagi.com/updates/#{macos_version_string}/appcast.xml"
    strategy :sparkle
  end

  auto_updates true
  depends_on macos: ">= :mojave"

  app "Orion.app"

  uninstall quit: "com.kagi.kagimacOS"

  zap trash: [
    "~/Library/Application Scripts/com.kagi.kagimacOS.ShareExtension",<commit_msg>orion 0.99,119<commit_after>cask "orion" do
  version "0.99,119"

  if MacOS.version <= :mojave
    macos_version_string = "10_14"
    sha256 "f164f67f0e0b3576d765103826e4158dc976457e0f74413d54b3df805a88c15b"
  elsif MacOS.version <= :catalina
    macos_version_string = "10_15"
    sha256 "7dc4a69e0b3001b0d130ce3e261b876ff167dcd1b4979f36856de3f4dba46e75"
  elsif MacOS.version <= :big_sur
    macos_version_string = "11_0"
    sha256 "7f591e86d17df0c0e4294934efa6af2480abbe1167f421f33e94592ed474b3a8"
  else
    macos_version_string = "12_0"
    sha256 "7524136a27309b2000d37692e05c432ee85c0799436260b4529284483ce111a6"
  end
  url "https://browser.kagi.com/updates/#{macos_version_string}/#{version.csv.second}.zip"
  name "Orion Browser"
  desc "WebKit based web browser"
  homepage "https://browser.kagi.com/"

  livecheck do
    url "https://browser.kagi.com/updates/#{macos_version_string}/appcast.xml"
    strategy :sparkle
  end

  auto_updates true
  depends_on macos: ">= :mojave"

  app "Orion.app"

  uninstall quit: "com.kagi.kagimacOS"

  zap trash: [
    "~/Library/Application Scripts/com.kagi.kagimacOS.ShareExtension",
{'fraction_non_alphanumeric': 0.10065934065934067, 'fraction_numerical': 0.17406593406593407, 'mean_word_length': 4.835897435897436, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '1593580', 'n_tokens_mistral': 1203, 'n_tokens_neox': 993, 'n_words': 130}