File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 11@ echo off
2- cls
32setlocal EnableDelayedExpansion EnableExtensions
43
54
@@ -33,8 +32,20 @@ set $colorSuccess=0A
3332set $colorWarning = 0E
3433set $colorFailure = 0C
3534
36- rem Set the title.
37- title WampServer PHP CLI Version Changer v%$scriptVersion%
35+
36+ rem --------------------
37+ rem --------------------
38+
39+ rem --------------------
40+ rem Operation by TUI
41+ rem --------------------
42+
43+ rem Check if the TUI is being used.
44+ if %$cliMode% equ 0 (
45+ cls
46+ title WampServer PHP CLI Version Changer v%$scriptVersion%
47+ color %$colorNormal%
48+ )
3849
3950
4051rem -----------------
@@ -187,9 +198,6 @@ rem ------------------------
187198rem Display PHP Versions
188199rem ------------------------
189200
190- rem Set the window.
191- color %$colorNormal%
192-
193201rem Show the header.
194202echo :
195203echo Available PHP CLI Versions
You can’t perform that action at this time.
0 commit comments