From 67b0ba39962090aaf7fa047a67d12f15fb6accf1 Mon Sep 17 00:00:00 2001 From: Yevgeny Kungurov Date: Thu, 30 Apr 2026 03:19:43 +0300 Subject: [PATCH] Add curl --ssl-revoke-best-effort (#12404) --- service.bat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/service.bat b/service.bat index 2b55e94..7199e6e 100644 --- a/service.bat +++ b/service.bat @@ -883,7 +883,12 @@ set "url=https://raw.githubusercontent.com/Flowseal/zapret-discord-youtube/refs/ echo Updating ipset-all... if exist "%SystemRoot%\System32\curl.exe" ( - curl -L -o "%listFile%" "%url%" + curl --version | find "libcurl/7" + if !errorlevel!==0 ( + curl --ssl-no-revoke -L -o "%listFile%" "%url%" + ) else ( + curl --ssl-revoke-best-effort -L -o "%listFile%" "%url%" + ) ) else ( powershell -NoProfile -Command ^ "$url = '%url%';" ^