ScoopInstaller_Main/bucket/dnscrypt-proxy.json
2020-01-31 11:01:51 +00:00

46 lines
1.7 KiB
JSON

{
"version": "2.0.39",
"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.39/dnscrypt-proxy-win64-2.0.39.zip",
"hash": "babd4122c3b44230abe2f74a8660bdf8b65276236e62b2fbdf0628a104000e95",
"extract_dir": "win64"
},
"32bit": {
"url": "https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.0.39/dnscrypt-proxy-win32-2.0.39.zip",
"hash": "29e7b2bb8b34c3bf59fc03be3a2f936d3a0539f2fce44d66cd06893ed4121419",
"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"
}
}
}
}