homebrew-cask/Casks/r/rio.rb

22 lines
632 B
Ruby

cask "rio" do
version "0.0.18"
sha256 "9f5013aa1738913726498dfd4dedf2926940ce1cc7401c83ec3233c8145a68e5"
url "https://github.com/raphamorim/rio/releases/download/v#{version}/Rio-v#{version}.dmg"
name "Rio"
desc "Hardware-accelerated GPU terminal emulator"
homepage "https://github.com/raphamorim/rio/"
livecheck do
url :url
strategy :github_latest
end
app "Rio.app"
binary "Rio.app/Contents/MacOS/rio"
binary "Rio.app/Contents/Resources/72/rio",
target: "#{ENV.fetch("TERMINFO", "~/.terminfo")}/72/rio"
zap trash: "~/Library/Saved Application State/com.raphaelamorim.rio.savedState"
end