Update check_updates.bat

This commit is contained in:
Verity-Freedom authored and GitHub committed 2024-12-08 11:09:19 +03:00
1 parent 95fbabe968
commit d663e14297
1 file changed
+1 -1
+1 -1
View File
@@ -51,7 +51,7 @@ if "%~1"=="soft" (
set "NEW_VERSION=" set "NEW_VERSION="
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" 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 Error reading new version
goto :EOF goto :EOF
) )