From 6319434a86530274e458ada2cb4126c100935f4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <1173718158@qq.com> Date: Fri, 15 Nov 2024 19:46:39 +0800 Subject: [PATCH] .. --- .github/scripts/build_lunatranslator.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/scripts/build_lunatranslator.py b/.github/scripts/build_lunatranslator.py index 7f90a97c..ff23b09f 100644 --- a/.github/scripts/build_lunatranslator.py +++ b/.github/scripts/build_lunatranslator.py @@ -121,12 +121,13 @@ def downloadmecab(): os.chdir(rootDir + "\\temp") subprocess.run(f"curl -LO {mylinks['mecab.zip']}") subprocess.run(f"7z x mecab.zip -oALL") - + move_directory_contents("ALL/ALL", f"{rootDir}/files/plugins") def downloadmapie(): os.chdir(rootDir + "\\temp") subprocess.run(f"curl -LO {mylinks['magpie.zip']}") subprocess.run(f"7z x magpie.zip -oALL") + move_directory_contents("ALL/ALL", f"{rootDir}/files/plugins") def downloadLocaleEmulator(): @@ -279,7 +280,6 @@ if __name__ == "__main__": downloadbass() os.chdir(rootDir) if arch == "xp": - move_directory_contents("ALL/ALL", f"{rootDir}/files/plugins") shutil.copytree( f"{rootDir}/../build/cpp_xp", f"{rootDir}/../cpp/builds", @@ -305,7 +305,6 @@ if __name__ == "__main__": downloadOCRModel() downloadmapie() downloadlr() - move_directory_contents("ALL/ALL", f"{rootDir}/files/plugins") os.chdir(rootDir) shutil.copytree(