homebrew-cask/Casks/qlab.rb

26 lines
703 B
Ruby

cask "qlab" do
version "5.1.1"
sha256 "b877ba63b033070813915c8575cb93792eac6eb9eb16f2979a684fed5457088b"
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
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