From 04df4830e737ded14462fc289505ba093624d3fe Mon Sep 17 00:00:00 2001 From: Matvey Beloded <96538802+JustChickNugget@users.noreply.github.com> Date: Sun, 28 Dec 2025 09:07:52 +0700 Subject: [PATCH] Fixed script termination if no option was selected in 'Install Service' (#7897) --- service.bat | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/service.bat b/service.bat index 463216c..37ab9b9 100644 --- a/service.bat +++ b/service.bat @@ -198,7 +198,11 @@ for %%f in (*.bat) do ( :: Choosing file set "choice=" set /p "choice=Input file index (number): " -if "!choice!"=="" goto :eof +if "!choice!"=="" ( + echo The choice is empty, exiting... + pause + goto menu +) set "selectedFile=!file%choice%!" if not defined selectedFile (