homebrew-cask/Casks/chronycontrol.rb

26 lines
908 B
Ruby

cask 'chronycontrol' do
version '1.2.1'
sha256 '35e030839de309bdd842aca40f8960b8511f70b20f5433743a54ced739c98323'
url "https://www.whatroute.net/software/chronycontrol-#{version}.zip"
appcast 'https://whatroute.net/chronycontrol.html',
checkpoint: 'f62ca16fea6cf7d647624ea89cbcf0a96fd3eff4a3bac643c9fd6774ee162e54'
name 'ChronyControl'
homepage 'https://whatroute.net/chronycontrol.html'
app 'ChronyControl.app'
uninstall launchctl: [
'org.tuxfamily.chronyd',
'org.tuxfamily.chronyc',
],
delete: [
'/etc/chrony.d',
'/var/db/chrony',
'/Library/LaunchDaemons/org.tuxfamily.chronyd',
'/Library/LaunchDaemons/org.tuxfamily.chronyc',
]
zap delete: '/var/log/chrony'
end