homebrew-cask/Casks/q/qlab.rb

27 lines
737 B
Ruby

cask "qlab" do
version "5.3.7"
sha256 "f6224df55c7ab7421396415253a2c94ff45c0fe2b027c69dbcc5a1a6911c75d2"
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