homebrew-cask/Casks/dnscrypt.rb

28 lines
1.2 KiB
Ruby
Raw Normal View History

2015-12-18 09:15:28 +08:00
cask 'dnscrypt' do
2017-02-13 03:44:47 +08:00
version '1.0.14'
sha256 '47da81eef9e04762e9db7141dc4fdb26681940ab747677b22af50ce79b2b48bf'
2014-09-26 20:08:52 +08:00
url "https://github.com/alterstep/dnscrypt-osxclient/releases/download/#{version}/dnscrypt-osxclient-#{version}.dmg"
2015-12-26 04:57:40 +08:00
appcast 'https://github.com/alterstep/dnscrypt-osxclient/releases.atom',
2017-08-04 19:47:54 +08:00
checkpoint: '6b13fdad0f4aea1215133d485319946f98a1ef63a263de7c3776bbc06a209b7e'
2015-01-30 04:27:24 +08:00
name 'DNSCrypt'
homepage 'https://github.com/alterstep/dnscrypt-osxclient'
2015-06-27 08:08:09 +08:00
pkg 'DNSCrypt.pkg'
2014-11-22 22:12:38 +08:00
uninstall quit: 'com.github.dnscrypt-osxclient.DNSCrypt-Menubar',
pkgutil: 'com.github.dnscrypt-osxclient.dnscryptClient.*',
launchctl: [
'com.github.dnscrypt-osxclient.DNSCryptAfterboot',
'com.github.dnscrypt-osxclient.DNSCryptConsoleChange',
'com.github.dnscrypt-osxclient.DNSCryptControlChange',
'com.github.dnscrypt-osxclient.DNSCryptNetworkChange',
],
delete: '/Library/PreferencePanes/DNSCrypt.prefPane'
2017-11-18 17:50:50 +08:00
zap trash: [
'/Library/Application Support/DNSCrypt',
'/usr/local/etc/dnscrypt-proxy.conf',
]
2013-11-18 12:53:18 +08:00
end