Skip to content

Commit 33f30fa

Browse files
committed
Hotfix when failed fetch version follows the service menu
1 parent 2785c46 commit 33f30fa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

service.bat

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,8 +242,9 @@ for /f "delims=" %%A in ('powershell -command "(Invoke-WebRequest -Uri \"%GITHUB
242242

243243
:: Error handling
244244
if not defined GITHUB_VERSION (
245-
echo Error: Failed to fetch the latest version. Check your internet connection
245+
echo Warning: failed to fetch the latest version. Check your internet connection. This warning does not affect the operation of zapret
246246
pause
247+
if "%1"=="soft" exit /b
247248
goto menu
248249
)
249250

0 commit comments

Comments
 (0)