mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2025-04-16 02:01:28 -07:00
no-cache for update request
This commit is contained in:
parent
4cb8c01cda
commit
2a1764bf36
@ -49,7 +49,7 @@ if "%~1"=="soft" (
|
|||||||
|
|
||||||
:: Reading new version from github
|
:: Reading new version from github
|
||||||
set "NEW_VERSION="
|
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 (
|
if not defined NEW_VERSION (
|
||||||
echo Erorr reading new version
|
echo Erorr reading new version
|
||||||
goto :EOF
|
goto :EOF
|
||||||
|
Loading…
Reference in New Issue
Block a user