homebrew-cask/Casks/xcodes.rb

25 lines
735 B
Ruby

cask "xcodes" do
version "1.10.0,18"
sha256 "b5c68c9900b56da2818541a60f33bd4ad9d423db7baee257cae23f0b02aebedc"
url "https://github.com/RobotsAndPencils/XcodesApp/releases/download/v#{version.csv.first}b#{version.csv.second}/Xcodes.zip"
name "Xcodes"
desc "Install and switch between multiple versions of Xcode"
homepage "https://github.com/RobotsAndPencils/XcodesApp"
livecheck do
url "https://robotsandpencils.github.io/XcodesApp/appcast.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :big_sur"
app "Xcodes.app"
zap trash: [
"/Library/PrivilegedHelperTools/com.robotsandpencils.XcodesApp.Helper",
"~/Library/Application Support/com.robotsandpencils.XcodesApp",
]
end