Add curl --ssl-revoke-best-effort (#12404)

This commit is contained in:
Yevgeny Kungurov
2026-04-30 03:19:43 +03:00
committed by GitHub
parent 517f2debf0
commit 67b0ba3996

View File

@@ -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%';" ^