mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-08-05 07:35:53 +03:00
Add curl --ssl-revoke-best-effort (#12404)
This commit is contained in:
@@ -883,7 +883,12 @@ set "url=https://raw.githubusercontent.com/Flowseal/zapret-discord-youtube/refs/
|
|||||||
echo Updating ipset-all...
|
echo Updating ipset-all...
|
||||||
|
|
||||||
if exist "%SystemRoot%\System32\curl.exe" (
|
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 (
|
) else (
|
||||||
powershell -NoProfile -Command ^
|
powershell -NoProfile -Command ^
|
||||||
"$url = '%url%';" ^
|
"$url = '%url%';" ^
|
||||||
|
|||||||
Reference in New Issue
Block a user