修改提示语
This commit is contained in:
parent
6b6e173c92
commit
bcae550ff2
@ -8,11 +8,10 @@ print_share_link() {
|
||||
# 检查jq是否安装
|
||||
check_jq
|
||||
|
||||
# 检查是否已启动过容器(假设UUID已替换为真实值,否则视为未启动)
|
||||
# 检查配置是否正确
|
||||
local uuid=$(jq -r '.inbounds[0].users[0].uuid' "$config_dir/config.json")
|
||||
if [ "$uuid" = "你的UUID" ] || [ -z "$uuid" ] || [[ "$uuid" == null ]]; then
|
||||
red "error: 容器未启动过或UUID未配置, 查看配置失败"
|
||||
echo '请选择"启动容器"或确保已手动替换UUID'
|
||||
red "error: 配置有误, 请重新生成配置"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user