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 1
1
@ echo off
2
- cls
3
2
setlocal EnableDelayedExpansion EnableExtensions
4
3
5
4
@@ -33,8 +32,20 @@ set $colorSuccess=0A
33
32
set $colorWarning = 0E
34
33
set $colorFailure = 0C
35
34
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
+ )
38
49
39
50
40
51
rem -----------------
@@ -187,9 +198,6 @@ rem ------------------------
187
198
rem Display PHP Versions
188
199
rem ------------------------
189
200
190
- rem Set the window.
191
- color %$colorNormal%
192
-
193
201
rem Show the header.
194
202
echo :
195
203
echo Available PHP CLI Versions
You can’t perform that action at this time.
0 commit comments