diff --git a/pipeline_Profile/code_file/build_profile.py b/pipeline_Profile/code_file/build_profile.py index 4d305d9..ac700a5 100644 --- a/pipeline_Profile/code_file/build_profile.py +++ b/pipeline_Profile/code_file/build_profile.py @@ -274,6 +274,10 @@ def copy_file_to_unity(): if os.path.exists(uiraw_path): # 删除目录中的所有内容 for item in os.listdir(uiraw_path): + # 如果是name_font文件夹,跳过不删除 + if item == "name_font": + continue + item_path = os.path.join(uiraw_path, item) if os.path.islink(item_path): # 如果是符号链接,直接删除