换皮糖果短剧

This commit is contained in:
谢宇宁
2026-09-21 23:03:21 +07:00
parent b29916a6bb
commit 4d7e30da95
450 changed files with 1943 additions and 1930 deletions
+2 -2
View File
@@ -14,7 +14,7 @@ fi
# 参数说明
if [ $# -lt 1 ]; then
printf -- "Build hgdj release package.\n\n"
printf -- "Build tgdj 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(如 hgdj_debug_xxxx),方便区分内测包
# isDebug=true → 命名标识固定为 debug(如 tgdj_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)