From 0c01e7d92cdb3877006dbbb293581307a591f91f 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:22:57 +0800 Subject: [PATCH] .. --- .github/scripts/build_lunatranslator.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/scripts/build_lunatranslator.py b/.github/scripts/build_lunatranslator.py index 2d0eb529..7649af23 100644 --- a/.github/scripts/build_lunatranslator.py +++ b/.github/scripts/build_lunatranslator.py @@ -278,7 +278,6 @@ if __name__ == "__main__": downloadNtlea() downloadmecab() downloadbass() - if arch != "xp": os.chdir(rootDir) if arch == "xp": shutil.copytree( @@ -306,6 +305,8 @@ if __name__ == "__main__": downloadOCRModel() downloadmapie() downloadlr() + + os.chdir(rootDir) shutil.copytree( f"{rootDir}/../build/hook_64", f"{rootDir}/files/plugins/LunaHook",