From e8fbe8cf5a0670c50e34956509e70bcb66a9f11a Mon Sep 17 00:00:00 2001 From: zhouzhuo Date: Thu, 7 Aug 2025 18:45:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84python=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pipeline_Profile/code_file/build_profile.py | 4 ++++ 1 file changed, 4 insertions(+) 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): # 如果是符号链接,直接删除