summaryrefslogtreecommitdiff
path: root/MAS/Separate-Files-Version/Troubleshoot.cmd
diff options
context:
space:
mode:
authorWindowsAddict2024-08-17 23:38:35 +0000
committerWindowsAddict2024-08-17 23:38:35 +0000
commitd55b9fa78c301672774a1fb4be13d55935871762 (patch)
treefde82bce20e8a9bc6bb5dcdfd546ac3fab478d81 /MAS/Separate-Files-Version/Troubleshoot.cmd
parentfb113c7c243190b267722d4a5fca48bc0a7a40e4 (diff)
downloadMicrosoft-Activation-Scripts-d55b9fa78c301672774a1fb4be13d55935871762.zip
Avoid using pause if Terminal is detected
Diffstat (limited to 'MAS/Separate-Files-Version/Troubleshoot.cmd')
-rw-r--r--MAS/Separate-Files-Version/Troubleshoot.cmd13
1 files changed, 11 insertions, 2 deletions
diff --git a/MAS/Separate-Files-Version/Troubleshoot.cmd b/MAS/Separate-Files-Version/Troubleshoot.cmd
index e35d102..eeaa116 100644
--- a/MAS/Separate-Files-Version/Troubleshoot.cmd
+++ b/MAS/Separate-Files-Version/Troubleshoot.cmd
@@ -829,10 +829,14 @@ echo:
) else (
echo:
call :dk_color %_Yellow% "A Window will popup, in that Window you need to select [Quick] Repair Option..."
+if defined terminal (
+call :dk_color %_Yellow% "Press 0 key to continue..."
+choice /c 0 /n
+) else (
call :dk_color %_Yellow% "Press any key to continue..."
-echo:
pause %nul1%
)
+)
if defined uwp16 (
echo:
@@ -1042,8 +1046,13 @@ exit /b
echo:
echo %line%
echo:
-call :dk_color %_Yellow% "Press any key to go back..."
+if defined terminal (
+call :dk_color %_Yellow% "Press 0 key to %_exitmsg%..."
+choice /c 0 /n
+) else (
+call :dk_color %_Yellow% "Press any key to %_exitmsg%..."
pause %nul1%
+)
goto :at_menu
::========================================================================================================================================