This commit is contained in:
2025-05-10 08:37:44 +08:00
parent 1b82425de0
commit 842884c96d

View File

@@ -83,7 +83,7 @@ def convert_to_simai_folder(result,output_folder):
source_folder = of
# 目标文件夹路径
target_folder = npof
target_folder = f"{npof}/{name}"
# 要复制的文件列表
files_to_copy = ["bg.png", "maidata.txt", "pv.mp4", "track.mp3"]
@@ -102,6 +102,11 @@ def convert_to_simai_folder(result,output_folder):
else:
print(f"文件 {file_name} 不存在,跳过复制")
if os.path.exists(source_folder):
shutil.rmtree(source_folder)