From 7ba4792636438a4f64db5e9ee494b16dd925586a Mon Sep 17 00:00:00 2001 From: xaoyaoo Date: Sat, 3 Aug 2024 00:41:33 +0800 Subject: [PATCH] fix --- tests/build_exe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/build_exe.py b/tests/build_exe.py index f4fd79b..7fc2411 100644 --- a/tests/build_exe.py +++ b/tests/build_exe.py @@ -165,8 +165,8 @@ if package_path: datas_741258.append(f'''(r'{file_path}', r'{os.path.dirname(file_path.replace(package_path, "")[1:])}' )''') datas_741258 = ",\n".join(datas_741258) - # 获取 wx_info/tools 文件夹下的所有文件 用于打包 - for root, dirs, files in os.walk(os.path.join(root_path, "wx_info", "tools")): + # 获取 wx_core/tools 文件夹下的所有文件 用于打包 + for root, dirs, files in os.walk(os.path.join(root_path, "wx_core", "tools")): for file in files: file_path = os.path.join(root, file) datas_741258 += f''',\n(r'{file_path}', r'{os.path.dirname(file_path.replace(package_path, "")[1:])}' )'''