Fixed script termination if no option was selected in 'Install Service' (#7897)

This commit is contained in:
Matvey Beloded
2025-12-28 09:07:52 +07:00
committed by GitHub
parent e20eecd37c
commit 04df4830e7

View File

@@ -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 (