mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2025-12-10 05:19:45 +05:00
no-cache for update request
This commit is contained in:
@@ -49,7 +49,7 @@ if "%~1"=="soft" (
|
||||
|
||||
:: Reading new version from github
|
||||
set "NEW_VERSION="
|
||||
for /f "delims=" %%A in ('powershell -command "(Invoke-WebRequest -Uri %GITHUB_URL% -TimeoutSec 5).Content" 2^>nul') do set "NEW_VERSION=%%A"
|
||||
for /f "delims=" %%A in ('powershell -command "(Invoke-WebRequest -Uri %GITHUB_URL% -Headers @{\"Cache-Control\"=\"no-cache\"} -TimeoutSec 5).Content" 2^>nul') do set "NEW_VERSION=%%A"
|
||||
if not defined NEW_VERSION (
|
||||
echo Erorr reading new version
|
||||
goto :EOF
|
||||
|
||||
Reference in New Issue
Block a user