phinze/homebrew-cask

View on GitHub
Casks/r/rio.rb

Summary

Maintainability
A
0 mins
Test Coverage
cask "rio" do
  version "0.1.12"
  sha256 "5e7f5b5365212d05e310d3b9264e5ba75c8b4614851060e569a4d3b30ecc840b"

  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

  depends_on macos: ">= :catalina"

  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