Fix for undefined version

This commit is contained in:
Flowseal 2025-03-08 14:42:56 +03:00 committed by GitHub
parent 2b16cb4444
commit ef746381bd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -14,6 +14,7 @@ for /f "delims=" %%A in ('powershell -command "(Invoke-WebRequest -Uri \"%GITHUB
:: Error handling
if not defined GITHUB_VERSION (
echo Error: Failed to fetch the latest version. Check your internet connection
goto :EOF
)
:: Version comparison
@ -33,4 +34,4 @@ if "%LOCAL_VERSION%"=="%GITHUB_VERSION%" (
)
)
if not "%1"=="soft" pause
endlocal
endlocal