将 DisplayItemInfoForm 更名为 ItemTooltipForm

This commit is contained in:
SepComet
2026-06-15 11:23:44 +08:00
parent bba17bbac2
commit 44498e5859
27 changed files with 108 additions and 110 deletions
Binary file not shown.
+4 -2
View File
@@ -1,7 +1,9 @@
import pandas as pd
import os
def convert_excel_to_txt(folder_path='.'):
def convert_excel_to_txt(folder_path=None):
if folder_path is None:
folder_path = os.path.dirname(os.path.abspath(__file__))
# 计数器,用于最后汇总
count = 0
target_dir = os.path.join(os.path.dirname(__file__), '../Assets/GameMain/DataTables')
@@ -37,7 +39,7 @@ def convert_excel_to_txt(folder_path='.'):
print(f"\n任务完成!共转换了 {count} 个文件。")
if __name__ == "__main__":
convert_excel_to_txt('.')
convert_excel_to_txt()
# --- 关键修改:在这里添加暂停 ---
print("\n" + "="*30)