diff --git a/check_updates.bat b/check_updates.bat index 2def1d6..d0115c9 100644 --- a/check_updates.bat +++ b/check_updates.bat @@ -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