cask "chatty" do version "0.13.1" sha256 "b92910ad1e7df29fcd7e5d8f61a47efc641767c8bdf1828f4f18e7a0b79413d3" url "https://github.com/chatty/chatty/releases/download/v#{version}/Chatty_#{version}.zip", verified: "github.com/chatty/chatty/" name "Chatty" desc "Twitch chat client" homepage "https://chatty.github.io/" livecheck do url :url strategy :github_latest end suite "Chatty" preflight do # There is no sub-folder in the ZIP; the root *is* the folder FileUtils.mv(staged_path.children, staged_path.join("Chatty").tap(&:mkpath)) end zap trash: "~/.chatty" caveats do depends_on_java "7+" end end