From 01e5c94ff5f14ec0b27262ff655f94ef91d7abdf Mon Sep 17 00:00:00 2001 From: Mark Pashmfouroush Date: Mon, 5 Feb 2024 23:32:33 +0000 Subject: [PATCH] Update dnscrypt-proxy.json --- bucket/dnscrypt-proxy.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/bucket/dnscrypt-proxy.json b/bucket/dnscrypt-proxy.json index a334c47..5246372 100644 --- a/bucket/dnscrypt-proxy.json +++ b/bucket/dnscrypt-proxy.json @@ -18,10 +18,14 @@ } } }, - "pre_install": "if (!(Test-Path \"$persist_dir\\$dnscrypt-proxy.toml\")) { Copy-Item \"$dir\\example-dnscrypt-proxy.toml\" \"$dir\\dnscrypt-proxy.toml\" }", + "pre_install": [ + "'dnscrypt-proxy.toml', 'query.log' | ForEach-Object {", + " if (!(Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" -ItemType File | Out-Null }", + "};" + ], "persist": [ "dnscrypt-proxy.toml", - "localhost.pem" + "query.log" ], "extract_dir": "win64", "bin": "dnscrypt-proxy.exe"