homebrew-cask/Casks/r/ray.rb

33 lines
938 B
Ruby

cask "ray" do
arch arm: "-arm64"
folder = on_arch_conditional arm: "arm64/"
version "2.8.1"
sha256 arm: "574da3a617b421dbd733d9559d12417c82ff7289997f64b75af19ecad32ab457",
intel: "fb4f3ea712d1b2d8ffffcc86a992da863b047cce41f8244f9e29039c853b2302"
url "https://ray-app.s3.eu-west-1.amazonaws.com/#{folder}Ray-#{version}#{arch}.dmg",
verified: "ray-app.s3.eu-west-1.amazonaws.com/"
name "Ray"
desc "Debug with Ray to fix problems faster"
homepage "https://myray.app/"
livecheck do
url "https://ray-app.s3.amazonaws.com/latest-mac.yml"
strategy :electron_builder
end
auto_updates true
app "Ray.app"
zap trash: [
"~/Library/Application Support/Ray",
"~/Library/Caches/be.spatie.ray",
"~/Library/Caches/be.spatie.ray.ShipIt",
"~/Library/Logs/Ray",
"~/Library/Preferences/be.spatie.ray.plist",
"~/Library/Saved Application State/be.spatie.ray.savedState",
]
end