Merge pull request #909 from Verity-Freedom/patch-1

Update check_updates.bat
This commit is contained in:
Flowseal 2024-12-10 08:53:15 +03:00 committed by GitHub
commit 3044eb2076
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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
) )