项目名修改

This commit is contained in:
谢宇宁
2026-10-08 20:42:08 +07:00
parent 3fb7940ae2
commit 4145dbb716
443 changed files with 1925 additions and 1925 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ fi
# 参数说明
if [ $# -lt 1 ]; then
printf -- "Build jydj release package.\n\n"
printf -- "Build hgmj release package.\n\n"
printf -- "Usage: $0 <target> [mode] [export_method] [export_options_plist] [sign_mode]\n"
printf -- " target : a(android) | i(ios) | all\n"
printf -- " mode : release(默认) | debug | profile\n"
@@ -83,7 +83,7 @@ SAFE_VERSION=${RAW_VERSION//+/_}
TIME_TAG=$(date +"%m%d-%H%M")
# 读取应用内 Config.isDebug(lib/config/config.dart),决定产物命名标识:
# isDebug=true → 命名标识固定为 debug(如 jydj_debug_xxxx),方便区分内测包
# isDebug=true → 命名标识固定为 debug(如 hgmj_debug_xxxx),方便区分内测包
# isDebug=false → 正式环境,命名沿用构建模式(release/profile),保持不变
CONFIG_FILE="lib/config/config.dart"
CONFIG_DEBUG=$(grep -E 'static[[:space:]]+const[[:space:]]+isDebug[[:space:]]*=' "$CONFIG_FILE" 2>/dev/null | grep -oE 'true|false' | head -1)