cask "chronycontrol" do version "1.7.0" sha256 "a2b346b7d85df993de2b7f8d2b893bfec92e6b8109ab9dd546e35aeb9ea60abb" url "https://www.whatroute.net/software/chronycontrol-#{version}.zip" name "ChronyControl" desc "Install and configure chronyd" homepage "https://whatroute.net/chronycontrol.html" livecheck do url "https://www.whatroute.net/chronycontrolappcast.xml" strategy :sparkle, &:short_version end auto_updates true depends_on macos: :sonoma app "ChronyControl.app" uninstall launchctl: [ "org.tuxfamily.chronyc", "org.tuxfamily.chronyd", ], quit: "net.whatroute.ChronyControl", delete: [ "/Library/LaunchDaemons/org.tuxfamily.chronyc", "/Library/LaunchDaemons/org.tuxfamily.chronyd", "/var/db/chrony", ] zap trash: [ "/etc/chrony.d", "/var/log/chrony", "~/Library/Logs/net.whatroute.ChronyControl", ] end