From ef746381bd0fefcbd5d04caf526cd33e44af5a39 Mon Sep 17 00:00:00 2001 From: Flowseal <50780822+Flowseal@users.noreply.github.com> Date: Sat, 8 Mar 2025 14:42:56 +0300 Subject: [PATCH] Fix for undefined version --- check_updates.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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