1 cask "wiso-steuer-2025" do
2 # NOTE: "2025" is not a version number, but an intrinsic part of the product name
3 version "32.01.1970-RC2"
4 sha256 "01c32e3696e4b73480de94103852b6e31c74f59b0ffee6511154b2c02f05adad"
6 url "https://update.buhl-data.com/Updates/Steuer/2025/Mac/Files/#{version}/SteuerMac2025-#{version.split("-").first}.dmg",
7 verified: "update.buhl-data.com/Updates/Steuer/"
8 name "WISO Steuer 2025"
9 desc "Tax declaration for the fiscal year 2024"
10 homepage "https://www.buhl.de/download/wiso-steuer-2025/"
13 url "https://update.buhl-data.com/Updates/Steuer/2025/Mac/Aktuell/appcast-steuer.xml"
14 regex(%r{/v?(\d+(?:\.\d+)+[^/]*)/SteuerMac2025[._-]v?(\d+(?:\.\d+)+)\.dmg}i)
15 strategy :sparkle do |item, regex|
16 match = item.url&.match(regex)
24 depends_on macos: ">= :catalina"
26 # Renamed for consistency: app name differs in Finder to shell
27 app "SteuerMac 2025.app", target: "WISO Steuer 2025.app"
30 "~/Library/Application Support/BuhlData.com/WISOsteuerMac2025",
31 "~/Library/Caches/com.BuhlData.WISOsteuerMac2025",
32 "~/Library/HTTPStorages/com.BuhlData.WISOsteuerMac2025",
33 "~/Library/Preferences/com.buhldata.WISOsteuerMac2025.plist",
34 "~/Library/Saved Application State/com.BuhlData.WISOsteuerMac2025.savedState",
35 "~/Library/WebKit/com.BuhlData.WISOsteuerMac2025",