2 on_monterey :or_older do
4 sha256 "81e7a1f64499128c131d169408829962ca913996830a7e19d372099e657d5894"
6 on_ventura :or_newer do
8 # required as upstream package is regularly updated in-place https://github.com/Homebrew/homebrew-cask/pull/182188#issuecomment-2284199515
11 binary "#{appdir}/MacUpdater.app/Contents/Resources/macupdater_install"
14 url "https://www.corecode.io/downloads/macupdater_#{version}.dmg"
16 desc "Track and update to the latest versions of installed software"
17 homepage "https://www.corecode.io/macupdater/index.html"
20 url "https://www.corecode.io/macupdater/macupdater#{version.major}.xml"
21 strategy :sparkle, &:short_version
25 depends_on macos: ">= :mojave"
28 binary "#{appdir}/MacUpdater.app/Contents/Resources/macupdater_client"
30 uninstall launchctl: "com.corecode.MacUpdaterLaunchHelper",
31 quit: "com.corecode.MacUpdater"
34 "~/Library/Application Scripts/com.corecode.MacUpdaterLaunchHelper",
35 "~/Library/Application Support/MacUpdater*",
36 "~/Library/Caches/com.corecode.MacUpdater",
37 "~/Library/Containers/com.corecode.MacUpdaterLaunchHelper",
38 "~/Library/Cookies/com.corecode.MacUpdater.binarycookies",
39 "~/Library/Preferences/com.corecode.MacUpdater.plist",