homebrew-cask/Casks/latest.rb

27 lines
708 B
Ruby

cask "latest" do
version "0.9,935"
sha256 "4c8b29bfba9da175de7418fd490222ebdffebd63719123f0e7548ca5cade8f89"
url "https://max.codes/latest/#{version.csv.first}.zip"
name "Latest"
desc "Utility that shows the latest app updates"
homepage "https://max.codes/latest"
livecheck do
url "https://max.codes/latest/update.xml"
strategy :sparkle
end
auto_updates true
depends_on macos: ">= :high_sierra"
app "Latest.app"
zap trash: [
"~/Library/Caches/com.max-langer.Latest",
"~/Library/Cookies/com.max-langer.Latest.binarycookies",
"~/Library/Preferences/com.max-langer.Latest.plist",
"~/Library/Saved Application State/com.max-langer.Latest.savedState",
]
end