feat(脚本): 添加删除、添加端口后重新进入菜单

pull/534/merge
mack-a 2022-12-29 11:23:52 +08:00
parent e9f4d0d6dd
commit 4ec2f7c179
1 changed files with 2 additions and 0 deletions

View File

@ -3636,6 +3636,7 @@ EOF
echoContent green " ---> 添加成功"
reloadCore
addCorePort
fi
elif [[ "${selectNewPortType}" == "2" ]]; then
@ -3646,6 +3647,7 @@ EOF
if [[ -n "${dokoConfig}" ]]; then
rm "${configPath}/$(echo "${dokoConfig}" | awk -F "[:]" '{print $2}')"
reloadCore
addCorePort
else
echoContent yellow "\n ---> 编号输入错误,请重新选择"
addCorePort