修改提示语

This commit is contained in:
Olia Lisa 2026-01-15 12:31:44 +08:00
parent 6b6e173c92
commit bcae550ff2

View File

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