【热更】没有更新 files文件

dev_chengFeng
gaoxin 2021-06-11 13:16:55 +08:00
parent 65e7971693
commit ee8577248e
1 changed files with 4 additions and 0 deletions

View File

@ -481,6 +481,8 @@ namespace GameEditor.FrameTool
File.Copy(fromPath + rf.fileName, toPath + rf.fileName, true);
log.Add(rf.fileName);
}
File.Copy(fromPath + UpdateConfigs.FILES, toPath + UpdateConfigs.FILES, true);
log.Add(UpdateConfigs.FILES);
// write logf
string logName = updateName.Replace("/", "$");
EditorUtility.DisplayProgressBar("正在生成Log文件", logName, 1f);
@ -522,6 +524,8 @@ namespace GameEditor.FrameTool
changeFile.Add(rf.fileName);
log.Add(rf.fileName);
}
changeFile.Add(UpdateConfigs.FILES);
log.Add(UpdateConfigs.FILES);
// write ChangeList
EditorUtility.DisplayProgressBar("正在生成文件变化列表", changeFileName, 1f);
WriteLog(hfs.path_cdn_setting + "/__HotFixLog", changeFileName, changeFile.ToArray());