File tree Expand file tree Collapse file tree
Sing-Box_Config_Installer Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,9 +16,11 @@ while true; do
1616
1717 case $user_choice in
1818 " Server Optimizer" )
19+ clear
1920 optimize_server
2021 ;;
2122 " Update Sing-Box Cores" )
23+ clear
2224 update_sing-box_core
2325 ;;
2426 " Hysteria2" )
@@ -33,18 +35,23 @@ while true; do
3335
3436 case $user_choice in
3537 " Install Hysteria2" )
38+ clear
3639 install_hysteria
3740 ;;
3841 " Modify Hysteria2 Config" )
42+ clear
3943 modify_hysteria_config
4044 ;;
4145 " Show Hysteria2 Config" )
46+ clear
4247 show_hysteria_config
4348 ;;
4449 " Enable/Disable WARP on Hysteria2" )
50+ clear
4551 toggle_warp_hysteria
4652 ;;
4753 " Uninstall Hysteria2" )
54+ clear
4855 uninstall_hysteria
4956 ;;
5057 " Back" )
@@ -68,18 +75,23 @@ while true; do
6875
6976 case $user_choice in
7077 " Install Tuic" )
78+ clear
7179 install_tuic
7280 ;;
7381 " Modify Tuic Config" )
82+ clear
7483 modify_tuic_config
7584 ;;
7685 " Show Tuic Config" )
86+ clear
7787 show_tuic_config
7888 ;;
7989 " Enable/Disable WARP on Tuic" )
90+ clear
8091 toggle_warp_tuic
8192 ;;
8293 " Uninstall Tuic" )
94+ clear
8395 uninstall_tuic
8496 ;;
8597 " Back" )
@@ -103,18 +115,23 @@ while true; do
103115
104116 case $user_choice in
105117 " Install Reality" )
118+ clear
106119 install_reality
107120 ;;
108121 " Modify Reality Config" )
122+ clear
109123 modify_reality_config
110124 ;;
111125 " Show Reality Config" )
126+ clear
112127 show_reality_config
113128 ;;
114129 " Enable/Disable WARP on Reality" )
130+ clear
115131 toggle_warp_reality
116132 ;;
117133 " Uninstall Reality" )
134+ clear
118135 uninstall_reality
119136 ;;
120137 " Back" )
@@ -138,18 +155,23 @@ while true; do
138155
139156 case $user_choice in
140157 " Install ShadowTLS" )
158+ clear
141159 install_shadowtls
142160 ;;
143161 " Modify ShadowTLS Config" )
162+ clear
144163 modify_shadowtls_config
145164 ;;
146165 " Show ShadowTLS Config" )
166+ clear
147167 show_shadowtls_config
148168 ;;
149169 " Enable/Disable WARP on ShadowTLS" )
170+ clear
150171 toggle_warp_shadowtls
151172 ;;
152173 " Uninstall ShadowTLS" )
174+ clear
153175 uninstall_shadowtls
154176 ;;
155177 " Back" )
@@ -178,12 +200,15 @@ while true; do
178200 warp_key_gen
179201 ;;
180202 " Install Warp" )
203+ clear
181204 install_warp
182205 ;;
183206 " Show Warp Config" )
207+ clear
184208 show_warp_config
185209 ;;
186210 " Uninstall Warp" )
211+ clear
187212 uninstall_warp
188213 ;;
189214 " Back" )
@@ -196,8 +221,8 @@ while true; do
196221 done
197222 ;;
198223 " Exit" )
199- echo " Exiting."
200224 clear
225+ echo " Exiting."
201226 exit 0
202227 ;;
203228 * )
You can’t perform that action at this time.
0 commit comments