ScoopInstaller_Main/bucket/dnscrypt-proxy.json
2019-10-12 21:00:25 +00:00

50 lines
1.8 KiB
JSON

{
"version": "2.0.28",
"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.28/dnscrypt-proxy-win64-2.0.28.zip",
"hash": "9c742b89d98eaff9fbe994dbe5b3b38c7249c0202c2ef26262067ea56b022245",
"extract_dir": "win64"
},
"32bit": {
"url": "https://github.com/jedisct1/dnscrypt-proxy/releases/download/2.0.28/dnscrypt-proxy-win32-2.0.28.zip",
"hash": "068e56857f11379f592a409896c2b87c8d10d3c90fe201be008888254c88e156",
"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"
}
}
}
}