From 33f30fa00c4c3a400465d6d897f1052e9d90df11 Mon Sep 17 00:00:00 2001 From: Flowseal Date: Thu, 1 May 2025 18:11:13 +0300 Subject: [PATCH] Hotfix when failed fetch version follows the service menu --- service.bat | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/service.bat b/service.bat index 530be85..d62ccf8 100644 --- a/service.bat +++ b/service.bat @@ -242,8 +242,9 @@ 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 + echo Warning: failed to fetch the latest version. Check your internet connection. This warning does not affect the operation of zapret pause + if "%1"=="soft" exit /b goto menu )