fix: align Windows dev, App compiler, and ASR

This commit is contained in:
key
2026-07-26 21:27:37 +08:00
parent f57e0a53c6
commit 9ae5f750c8
22 changed files with 698 additions and 791 deletions
+5 -1
View File
@@ -9,8 +9,12 @@ if [[ ! -d node_modules ]]; then
npm install --registry=https://registry.npmmirror.com
fi
if [[ -n "${PORTLESS_URL:-}" && -n "${PORT:-}" ]]; then
exec npm run dev -- --host "${HOST:-127.0.0.1}" --port "$PORT" --strictPort
fi
if [[ "${PORTLESS:-1}" != "0" ]] && command -v portless >/dev/null 2>&1; then
exec portless run --name wygj-admin --force bash -lc 'npm run dev -- --host "${HOST:-127.0.0.1}" --port "$PORT" --strictPort'
exec portless run --name wygj-admin --force bash "$ROOT_DIR/scripts/dev-frontend.sh"
fi
if [[ "${PORTLESS:-1}" != "0" ]]; then