构建调整,解决宏定义为空的问题
parent
1632721114
commit
0e34ca227e
|
|
@ -5,13 +5,19 @@ Define_list:
|
|||
# 应用包名
|
||||
PackageName: "com.phxh.taptap.nld"
|
||||
|
||||
# 是否海外渠道
|
||||
IsOversea: false
|
||||
|
||||
# 多语言配置
|
||||
Language: "Lan_Default"
|
||||
|
||||
# 当前版本号
|
||||
Version: "0.9.0"
|
||||
|
||||
# 构建资源远程上传路径--暂时使用dev
|
||||
# BuildCode
|
||||
BuildCode: 4
|
||||
|
||||
# 构建资源远程上传路径
|
||||
OssRemoteUploadPath: "oss://nld-dev-yhpxkqgzatnrmbws/client_res/Build"
|
||||
AssetsEndPoint: "oss-cn-chengdu.aliyuncs.com"
|
||||
|
||||
|
|
@ -42,7 +48,7 @@ TalkingData:
|
|||
Packages:
|
||||
- CrashSight@latest
|
||||
- ThinkingData@1.0.0
|
||||
- WXPay@1.0.0
|
||||
- WXPay_Tap@latest
|
||||
- AliPay@0.0.1
|
||||
- TapTap@latest
|
||||
- AIhelper@latest
|
||||
|
|
|
|||
|
|
@ -127,7 +127,8 @@ def ModifyDefineList(versionPath, channel_path):
|
|||
print(f"Old Define_List: {channel_setting.get('Define_list', [])}")
|
||||
|
||||
# 修改DefineList(添加去重功能)
|
||||
if "Define_list" not in channel_setting:
|
||||
# 注意:Define_list 可能不存在,或存在但值为 None(YAML 中写了 key 但没有值)
|
||||
if not channel_setting.get("Define_list"):
|
||||
channel_setting["Define_list"] = []
|
||||
|
||||
# 合并并去重
|
||||
|
|
|
|||
Loading…
Reference in New Issue