Files
homebrew-cask/Casks/l/latest.rb
2023-11-27 15:31:07 -08:00

27 lines
712 B
Ruby

cask "latest" do
version "0.10"
sha256 "6ca03ce11c64248cad60ac602388459f1e405bc6ec8c19da293cdafee5136c7d"
url "https://max.codes/latest/#{version}.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, &:short_version
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