mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
dnscrypt-proxy: Fix configuration files persistence (#2691)
* dnscrypt-proxy: Update to version 2.1.0 * dnscrypt-proxy: Fix configuration files persist * Update bucket/dnscrypt-proxy.json Co-authored-by: Issac Lin <issaclin32@gmail.com> * Apply suggestions from code review Co-authored-by: Issac Lin <issaclin32@gmail.com> Co-authored-by: Issac Lin <issaclin32@gmail.com>
This commit is contained in:
parent
f6d2c91fcb
commit
29eb445b1c
@ -3,7 +3,11 @@
|
|||||||
"description": "A flexible DNS proxy, with support for encrypted DNS protocols",
|
"description": "A flexible DNS proxy, with support for encrypted DNS protocols",
|
||||||
"homepage": "https://dnscrypt.info",
|
"homepage": "https://dnscrypt.info",
|
||||||
"license": "ISC",
|
"license": "ISC",
|
||||||
"notes": "\"fallback_resolvers\" was renamed to \"bootstrap_resolvers\" for clarity. Please update your configuration file accordingly.",
|
"notes": [
|
||||||
|
"1. \"fallback_resolvers\" was renamed to \"bootstrap_resolvers\" for clarity. Please update your configuration file accordingly.",
|
||||||
|
"2. Some of the configuration files are changed, for details: https://github.com/DNSCrypt/dnscrypt-proxy/releases/tag/2.0.45",
|
||||||
|
"3. For compatibility reasons, please move all configuration files exclude \"dnscrypt-proxy.toml\" into \"config\" folder and update your config."
|
||||||
|
],
|
||||||
"architecture": {
|
"architecture": {
|
||||||
"64bit": {
|
"64bit": {
|
||||||
"url": "https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.1.0/dnscrypt-proxy-win64-2.1.0.zip",
|
"url": "https://github.com/DNSCrypt/dnscrypt-proxy/releases/download/2.1.0/dnscrypt-proxy-win64-2.1.0.zip",
|
||||||
@ -16,19 +20,12 @@
|
|||||||
"extract_dir": "win32"
|
"extract_dir": "win32"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"pre_install": [
|
"pre_install": "if (!(Test-Path \"$persist_dir\\$dnscrypt-proxy.toml\")) { Copy-Item \"$dir\\example-dnscrypt-proxy.toml\" \"$dir\\dnscrypt-proxy.toml\" }",
|
||||||
"'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",
|
"bin": "dnscrypt-proxy.exe",
|
||||||
"persist": [
|
"persist": [
|
||||||
"blacklist.txt",
|
"config",
|
||||||
"cloaking-rules.txt",
|
|
||||||
"dnscrypt-proxy.toml",
|
"dnscrypt-proxy.toml",
|
||||||
"forwarding-rules.txt",
|
"localhost.pem"
|
||||||
"localhost.pem",
|
|
||||||
"whitelist.txt"
|
|
||||||
],
|
],
|
||||||
"checkver": {
|
"checkver": {
|
||||||
"github": "https://github.com/DNSCrypt/dnscrypt-proxy"
|
"github": "https://github.com/DNSCrypt/dnscrypt-proxy"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user