From 51db74725244499d305d57f53e41a0a042daab31 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 12 Aug 2026 13:02:01 +0800 Subject: [PATCH] fix: build.sh copies index.ui, setup_rbac_perms adds /index.ui any + user_panel/ui --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index a96c430..cac9826 100644 --- a/build.sh +++ b/build.sh @@ -169,8 +169,9 @@ for m in appbase rbac pcpool pcc storage_mgr image_mgr; do ln -sfn "${PKGDIR}/${m}/wwwroot" "${CDIR}/wwwroot/${m}" 2>/dev/null || true done ln -sfn "${PKGDIR}/pccs/wwwroot" "${CDIR}/wwwroot/pccs" 2>/dev/null || true -# 确保根级 index.html 可访问 +# 确保根级 index.html / index.ui 可访问 cp -f "${PKGDIR}/pccs/wwwroot/index.html" "${CDIR}/wwwroot/index.html" 2>/dev/null || true +cp -f "${PKGDIR}/pccs/wwwroot/index.ui" "${CDIR}/wwwroot/index.ui" 2>/dev/null || true # bricks if [ -f "${PKGDIR}/bricks/build.sh" ]; then (cd "${PKGDIR}/bricks" && npm install --silent 2>/dev/null && bash build.sh 2>&1 | tail -2) || true