Improve "Install Service" menu (#15571)

This commit is contained in:
Matvey Beloded authored and GitHub committed 2026-06-30 17:11:19 +03:00
1 parent cb6c83d13b
commit 36f4452342
1 file changed
+9 -3
+9 -3
View File
@@ -242,12 +242,18 @@ for /f "delims=" %%F in ('powershell -NoProfile -Command "Get-ChildItem -Literal
set "file!count!=%%F"
)
echo 0. Exit
echo.
:: Choosing file
set "choice="
set /p "choice=Input file index (number): "
set /p "choice=Input option (0-!count!, default: 0): "
if "!choice!"=="" (
echo The choice is empty, exiting...
pause
set "choice=0"
)
if "!choice!"=="0" (
goto menu
)