ScoopInstaller_Main/bucket/dnscrypt-proxy.json
2019-10-28 12:01:50 +00:00

50 lines
1.8 KiB
JSON

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