fix: relocate cwos-portal decompiled output to correct path; remove nested directory

Former-commit-id: 7a35ba61e92ede5d81f132d969713dabe7a27194
This commit is contained in:
反编译工作区
2026-04-29 12:11:22 +08:00
parent e8672a3c7b
commit ee9c0aa26d
9 changed files with 176 additions and 64 deletions
@@ -27,6 +27,7 @@ done < <(_jdk8_open_flags "$JAVA")
# classpath:/application.properties 最后加载会盖住外置 properties;用 merge-redis-json.sh 把 redis-override.properties
# 转成 SPRING_APPLICATION_JSON(含 host/port/password),优先级高于 jar。
# application-access-control.properties 与星中心生产门禁配置对齐,在 application 之后、redis-override 之前加载。
# 临时改密码:SPRING_REDIS_PASSWORD='其它' ./run.sh(含空字符串表示无密码)
if ! command -v python3 >/dev/null 2>&1; then
echo "需要 python3deploy/merge-redis-json.sh)。请安装 python3。" >&2
@@ -39,4 +40,4 @@ fi
export SPRING_APPLICATION_JSON="$("$MERGE" "$PWD/redis-override.properties")"
# shellcheck disable=SC2086
exec "$JAVA" "${OPEN_FLAGS[@]}" ${ELEVATOR_JAVA_OPTS:-} -jar "$JAR" \
--spring.config.location=file:./application.properties,file:./redis-override.properties
--spring.config.location=file:./application.properties,file:./application-access-control.properties,file:./redis-override.properties