Casks/q/qlab.rb
cask "qlab" do
version "5.4.4"
sha256 "55c6ad765eb8ef32605784fd97e3095b9606867b74d8bde08dc1c90b3b59f76e"
url "https://qlab.app/downloads/archive/QLab-#{version}.zip"
name "QLab"
desc "Sound, video and lighting control"
homepage "https://qlab.app/"
livecheck do
url "https://qlab.app/appcast/v#{version.major}/"
strategy :sparkle, &:short_version
end
auto_updates true
depends_on macos: ">= :big_sur"
app "QLab.app"
zap trash: [
"~/Library/Application Support/QLab",
"~/Library/HTTPStorages/com.figure53.QLab.#{version.major}",
"~/Library/Preferences/com.figure53.QLab.#{version.major}.plist",
"~/Library/Saved Application State/com.figure53.QLab.#{version.major}.savedState",
]
end