【IOS】添加IOS热更新配置,修改热更新文件名连接符为下划线
parent
e694302cac
commit
12a8fd2417
|
|
@ -297,7 +297,7 @@ namespace GameEditor.FrameTool
|
|||
//}
|
||||
// 初始化数据
|
||||
updateName = dir_name + "_" + dir_cdn_setting + "_" + DateTime.Now.ToString("yyyy_MM_dd_HH_mm_ss");
|
||||
changeFileName = updateName.Replace("/", "$");
|
||||
changeFileName = updateName.Replace("/", "_");
|
||||
logName = changeFileName + "_UpLoad";
|
||||
tagName = "hotfix/" + dir_name + "/" + dir_cdn_setting + "/" + local_version.version;
|
||||
EditorUtility.DisplayProgressBar("正在获取数据:", updateName, 0f);
|
||||
|
|
@ -373,6 +373,8 @@ namespace GameEditor.FrameTool
|
|||
new string[]{ "喜扑", "mht_china/zf", "cdn_xipu", "china/zf_test" },
|
||||
new string[]{ "Quick", "mht_china/zf", "cdn_quick", "china/zf_test" },
|
||||
|
||||
new string[]{ "Quick", "mht_china/zf", "cdn_ios", "china/ios" },
|
||||
|
||||
new string[]{ "先遣-内网", "mht_china/local", "local12_cn_local", "china/local" },
|
||||
new string[]{ "先遣-测试", "mht_china/xq", "cdn_xq_test", "china/test" },
|
||||
new string[]{ "先遣-正式", "mht_china/xq", "cdn_xq_release", "china/test" },
|
||||
|
|
@ -618,7 +620,7 @@ namespace GameEditor.FrameTool
|
|||
File.Copy(fromPath + UpdateConfigs.FILES, toPath + UpdateConfigs.FILES, true);
|
||||
log.Add(UpdateConfigs.FILES);
|
||||
// write logf
|
||||
string logName = updateName.Replace("/", "$");
|
||||
string logName = updateName.Replace("/", "_");
|
||||
EditorUtility.DisplayProgressBar("正在生成Log文件:", logName, 1f);
|
||||
WriteLog(toPath+"/_log", logName, log.ToArray());
|
||||
// git commit
|
||||
|
|
@ -646,7 +648,7 @@ namespace GameEditor.FrameTool
|
|||
}
|
||||
// 初始化数据
|
||||
updateName = hfs.dir_name + "_" + hfs.dir_cdn_setting + "_" + DateTime.Now.ToString("yyyy_MM_dd_HH_mm_ss");
|
||||
changeFileName = updateName.Replace("/", "$");
|
||||
changeFileName = updateName.Replace("/", "_");
|
||||
logName = changeFileName + "_UpLoad";
|
||||
EditorUtility.DisplayProgressBar("正在获取数据:", updateName, 0f);
|
||||
log.Add("热更文件版本:" + updateName);
|
||||
|
|
|
|||
Loading…
Reference in New Issue