From edc54b2e85d54a22ba1d197aaad927b45552cb69 Mon Sep 17 00:00:00 2001 From: fl4m1nx0 Date: Tue, 22 Jul 2025 13:35:39 +0000 Subject: [PATCH] fix: resolve update script repository inconsistency and missing directory --- ct/profilarr.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ct/profilarr.sh b/ct/profilarr.sh index e8b05ee..989b2cb 100644 --- a/ct/profilarr.sh +++ b/ct/profilarr.sh @@ -107,6 +107,8 @@ function update_script() { cd /opt/${APP}/frontend || exit npm install npm run build + # Ensure the static directory exists before copying + mkdir -p /opt/${APP}/backend/app/static/ cp -r dist/* /opt/${APP}/backend/app/static/ msg_ok "Built Frontend"