ScoopInstaller_Main/bucket/dnscrypt-proxy.json
2019-10-31 18:00:58 +00:00

50 lines
1.8 KiB
JSON

{
"version": "2.0.31",
"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.31/dnscrypt-proxy-win64-2.0.31.zip",
"hash": "1d2c2acc9d0e4655e9011b162230c7cece6edffd14dd4dc2bd09a03c16095602",
"extract_dir": "win64"
},
"32bit": {
"url": "https://github.com/jedisct1/dnscrypt-proxy/releases/download/2.0.31/dnscrypt-proxy-win32-2.0.31.zip",
"hash": "e75f5a4bade37c5a890cdaf47d2a208d84890f7a2d0d9b2bb91805a92d2c1c6e",
"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"
}
}
}
}