logo和名称替换
This commit is contained in:
+2
-2
@@ -14,7 +14,7 @@ fi
|
||||
|
||||
# 参数说明
|
||||
if [ $# -lt 1 ]; then
|
||||
printf -- "Build hgmj release package.\n\n"
|
||||
printf -- "Build wydj 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(如 hgmj_debug_xxxx),方便区分内测包
|
||||
# isDebug=true → 命名标识固定为 debug(如 wydj_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)
|
||||
|
||||
Reference in New Issue
Block a user