mirror of
https://github.com/massgravel/Microsoft-Activation-Scripts.git
synced 2025-05-29 14:35:24 -04:00
Avoid using pause if Terminal is detected
This commit is contained in:
parent
fb113c7c24
commit
d55b9fa78c
2 changed files with 26 additions and 4 deletions
|
@ -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
|
||||
|
||||
::========================================================================================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue