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",