homebrew-cask/Casks/chronycontrol.rb

25 lines
817 B
Ruby
Raw Normal View History

2016-03-18 03:08:33 +08:00
cask 'chronycontrol' do
2018-06-14 12:42:31 +08:00
version '1.2.2'
sha256 'f00367056ecc6b8b2f03a961b8f64c562b8fc15c9f0816950fe1574d26990b7e'
2016-03-18 03:08:33 +08:00
url "https://www.whatroute.net/software/chronycontrol-#{version}.zip"
2018-06-12 22:37:26 +08:00
appcast 'https://whatroute.net/chronycontrol.html'
2016-03-18 03:08:33 +08:00
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',
]
2017-11-18 17:49:19 +08:00
zap trash: '/var/log/chrony'
2016-03-18 03:08:33 +08:00
end