cask "obsbot-center" do version "2.0.10.18" sha256 "16c209126ed25984f77310f01fbeee938dce948f6c8bb5149fb3d448f90a5d94" url "https://resource-cdn.obsbothk.com/download/obsbot-center/Obsbot_Center_OA_E_MacOS_#{version}_release.dmg", verified: "resource-cdn.obsbothk.com/download/obsbot-center/" name "OBSBOT Center" desc "Configuration and firmware update utility for OBSBOT Tiny and Meet series" homepage "https://www.obsbot.com/download" livecheck do url "https://www.obsbot.com/download/obsbot-tiny-series" regex(/Obsbot[._-]Center[._-]OA[._-]E[._-]MacOS[._-](\d+(?:\.\d+)+)[._-]release\.dmg/i) end depends_on macos: ">= :big_sur" app "OBSBOT_Center.app" zap trash: [ "~/Library/Application Support/OBSBOT_Center", "~/Library/Caches/com.obsbot.OBSBOT_Center", "~/Library/HTTPStorages/com.obsbot.OBSBOT_Center", "~/Library/Preferences/com.obsbot.OBSBOT_Center.plist", ] caveats do requires_rosetta end end