mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-07-05 09:21:19 +01:00
Avoid using pause if Terminal is detected
This commit is contained in:
@ -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
|
||||
|
||||
::========================================================================================================================================
|
||||
|
Reference in New Issue
Block a user