ScoopInstaller_Main/bucket/dnscrypt-proxy.json
2019-09-07 16:00:17 +00:00

50 lines
1.8 KiB
JSON

{
"version": "2.0.26",
"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.26/dnscrypt-proxy-win64-2.0.26.zip",
"hash": "3bc4cf63418df46d99977ef7c509c234059f4b32f63b3afed86aa7f8a1638a0f",
"extract_dir": "win64"
},
"32bit": {
"url": "https://github.com/jedisct1/dnscrypt-proxy/releases/download/2.0.26/dnscrypt-proxy-win32-2.0.26.zip",
"hash": "3e091dd629b44331991f8570358a5941813d6495ede2ce37365ada25dec67385",
"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"
}
}
}
}