cask "iris" do version "1.2.2" sha256 "ce7dd246b849b1c7af0436e8bc4d3fb0cc51e4563db361b480769ed6788c65ae" url "https://raw.githubusercontent.com/danielng01/product-builds/master/iris/macos/Iris-#{version}-OSX.zip", verified: "raw.githubusercontent.com/danielng01/product-builds/" name "Iris" desc "Blue light filter and eye protection software" homepage "https://iristech.co/iris/" livecheck do url :homepage regex(/Iris[._-]?v?(\d+(?:\.\d+)+)[._-]?OSX\.zip/i) end no_autobump! because: :requires_manual_review app "Iris.app" uninstall launchctl: "co.iristech.Iris", quit: "co.iristech.Iris" zap trash: [ "~/Library/Preferences/com.iristech.Iris.plist", "~/Library/Saved Application State/co.iristech.Iris.savedState", ] caveats do requires_rosetta end end