30 lines
688 B
Ruby
30 lines
688 B
Ruby
cask "raycast" do
|
|
version "1.48.9"
|
|
sha256 :no_check
|
|
|
|
url "https://api.raycast.app/v2/download"
|
|
name "Raycast"
|
|
desc "Control your tools with a few keystrokes"
|
|
homepage "https://raycast.app/"
|
|
|
|
livecheck do
|
|
url :url
|
|
regex(/Raycast[._-]v?(\d+(?:\.\d+)+)(?:[._-](\h+))[._-]universal\.dmg/i)
|
|
strategy :header_match
|
|
end
|
|
|
|
auto_updates true
|
|
depends_on macos: ">= :catalina"
|
|
|
|
app "Raycast.app"
|
|
|
|
uninstall quit: "com.raycast.macos"
|
|
|
|
zap trash: [
|
|
"~/Library/Application Support/com.raycast.macos",
|
|
"~/Library/Caches/com.raycast.macos",
|
|
"~/Library/Cookies/com.raycast.macos.binarycookies",
|
|
"~/Library/Preferences/com.raycast.macos.plist",
|
|
]
|
|
end
|