ScoopInstaller_Main/bucket/dnscrypt-proxy.json
2020-03-21 13:01:52 +00:00

46 lines
1.7 KiB
JSON

{
"version": "2.0.40",
"description": "A flexible DNS proxy, with support for encrypted DNS protocols",
"homepage": "https://dnscrypt.info",
"license": "ISC",
"architecture": {
"64bit": {
"url": "https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.0.40/dnscrypt-proxy-win64-2.0.40.zip",
"hash": "f3be589a60303881453b007e5844c81e6e50a0c1161eb6d0d2ddcb72e44c8716",
"extract_dir": "win64"
},
"32bit": {
"url": "https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.0.40/dnscrypt-proxy-win32-2.0.40.zip",
"hash": "f5e9c5474e790a5bf7bdff377eecfe0a33340a5aa08f0c17ba28eb5c9d3438a2",
"extract_dir": "win32"
}
},
"pre_install": [
"'blacklist.txt', 'cloaking-rules.txt', 'dnscrypt-proxy.toml', 'forwarding-rules.txt', 'whitelist.txt' | ForEach-Object {",
" if (!(Test-Path \"$persist_dir\\$_\")) { Copy-Item \"$dir\\example-$_\" \"$dir\\$_\" }",
"}"
],
"bin": "dnscrypt-proxy.exe",
"persist": [
"blacklist.txt",
"cloaking-rules.txt",
"dnscrypt-proxy.toml",
"forwarding-rules.txt",
"localhost.pem",
"whitelist.txt"
],
"checkver": {
"github": "https://github.com/DNSCrypt/dnscrypt-proxy"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/$version/dnscrypt-proxy-win64-$version.zip"
},
"32bit": {
"url": "https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/$version/dnscrypt-proxy-win32-$version.zip"
}
}
}
}