cask "crossover" do version "24.0.5" sha256 "b8e9660612c2ce6eed662e1e4b70b3a55070dfdfc0c0db3f726d8ce26da3d2bf" url "https://media.codeweavers.com/pub/crossover/cxmac/demo/crossover-#{version}.zip" name "CrossOver" desc "Tool to run Windows software" homepage "https://www.codeweavers.com/products/crossover-mac/" livecheck do url "https://www.codeweavers.com/xml/versions/cxmac.xml" strategy :sparkle, &:short_version end auto_updates true depends_on macos: ">= :high_sierra" app "CrossOver.app" zap trash: [ "~/Applications/CrossOver", "~/Library/Application Support/CrashReporter/CrossOver*", "~/Library/Application Support/CrossOver", "~/Library/Caches/Cleanup At Startup/CrossOver CD Helper.app", "~/Library/Caches/com.apple.helpd/Generated/CrossOver Help*", "~/Library/Caches/com.codeweavers.CrossOver", "~/Library/Caches/CrossOver", "~/Library/Cookies/com.codeweavers.CrossOver.binarycookies", "~/Library/HTTPStorages/com.codeweavers.CrossOver*", "~/Library/Logs/CrossOver", "~/Library/Logs/DiagnosticReports/CrossOver*", "~/Library/Preferences/com.codeweavers.*", "~/Library/Saved Application State/com.codeweavers.CrossOver*", ] caveats do requires_rosetta end end