cask "onecast" do version "2.2" sha256 :no_check url "https://onecast.me/downloads/OneCast.dmg" name "OneCast" desc "Xbox remote play" homepage "https://www.onecast.me/" livecheck do url "https://www.onecast.me/download/" regex(/>v(\d+(?:\.\d+)+)= :big_sur" app "OneCast.app" zap trash: [ "~/Library/Caches/com.onecast.macos", "~/Library/HTTPStorages/com.onecast.macos", "~/Library/Preferences/com.onecast.macos.plist", "~/Library/WebKit/com.onecast.macos", ] end