dnscrypt-proxy: Move from extras bucket (#157)

* dnscrypt-proxy: Move from extras bucket

* Update bucket/dnscrypt-proxy.json

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>

* Update bucket/dnscrypt-proxy.json

Co-Authored-By: Jakub Čábera <cabera.jakub@gmail.com>
This commit is contained in:
linsui 2019-06-19 14:48:22 +00:00 committed by Ross Smith II
parent be3c594941
commit a8b546c113

View File

@ -0,0 +1,49 @@
{
"version": "2.0.25",
"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.25/dnscrypt-proxy-win64-2.0.25.zip",
"hash": "610e5f963b5511729bd9cc360dc37f3070f6e5ecf6bd799617e5c7bd9cb8737e",
"extract_dir": "win64"
},
"32bit": {
"url": "https://github.com/jedisct1/dnscrypt-proxy/releases/download/2.0.25/dnscrypt-proxy-win32-2.0.25.zip",
"hash": "8de68be8fd39eea2477c743ba9548abed3e00225153fb8463787def7d450a4af",
"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"
}
}
}
}