homebrew-cask/Casks/hype.rb

23 lines
719 B
Ruby

cask "hype" do
version "4.1.12,748"
sha256 "876cec568e57a8f543383d8c06f06168957eb16759ff2888bd13259b18a86c1e"
url "https://tumult.com/hype/download/Hype-#{version.csv.second}.dmg"
name "Tumult Hype"
desc "App to create animated and interactive web content"
homepage "https://tumult.com/hype/"
livecheck do
url "https://tumult.com/hype/appcast_hype#{version.major}.xml"
strategy :sparkle
end
# Renamed for consistency: app name is different in the Finder and in a shell
app "Hype#{version.major}.app", target: "Hype #{version.major}.app"
zap trash: [
"~/Library/Containers/com.tumult.Hype#{version.major}",
"~/Library/Preferences/com.tumult.Hype#{version.major}.plist",
]
end