diff --git a/check_updates.bat b/check_updates.bat index 37d9613..642be00 100644 --- a/check_updates.bat +++ b/check_updates.bat @@ -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 \ No newline at end of file +endlocal