mirror of
https://github.com/juewuy/ShellCrash.git
synced 2026-03-11 16:01:28 +00:00
~优化菜单结构
This commit is contained in:
@@ -224,7 +224,7 @@ set_vmess(){
|
||||
2)
|
||||
read -p "请输入端口号(输入0删除) > " text
|
||||
[ "$text" = 0 ] && unset vms_port
|
||||
if sh "$CRASHDIR"/libs/check_port.sh "$text"; then
|
||||
if sh "$CRASHDIR"/menus/check_port.sh "$text"; then
|
||||
vms_port="$text"
|
||||
setconfig vms_port "$text" "$CFG"
|
||||
else
|
||||
@@ -293,7 +293,7 @@ set_shadowsocks(){
|
||||
2)
|
||||
read -p "请输入端口号(输入0删除) > " text
|
||||
[ "$text" = 0 ] && unset sss_port
|
||||
if sh "$CRASHDIR"/libs/check_port.sh "$text"; then
|
||||
if sh "$CRASHDIR"/menus/check_port.sh "$text"; then
|
||||
sss_port="$text"
|
||||
setconfig sss_port "$text" "$CFG"
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user