~优化菜单结构

This commit is contained in:
juewuy
2025-12-21 11:04:14 +08:00
parent ac8f225c4f
commit 871ca7eb8a
7 changed files with 435 additions and 68 deletions

View File

@@ -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