ScoopInstaller_Main/bucket/dnscrypt-proxy.json
2020-04-02 13:01:54 +08:00

46 lines
1.7 KiB
JSON

{
"version": "2.0.42",
"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.42/dnscrypt-proxy-win64-2.0.42.zip",
"hash": "0832b00af13c62264cea992cdbaf91a7e4f6063391ea186d792ef0fb3c47eae8",
"extract_dir": "win64"
},
"32bit": {
"url": "https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.0.42/dnscrypt-proxy-win32-2.0.42.zip",
"hash": "a90cc4980ccc4a0634631f9e58b620f8f3d831d5f48342c3bc3cfe1efbbe145a",
"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"
}
}
}
}