From fb63746c6c6405d812ec6c11499225fee630297b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=81=8D=E5=85=AE=E6=83=9A=E5=85=AE?= <101191390+HIllya51@users.noreply.github.com> Date: Sat, 10 Aug 2024 20:43:38 +0800 Subject: [PATCH] yunle --- build.py | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/build.py b/build.py index ff98790d..b9d6996a 100644 --- a/build.py +++ b/build.py @@ -298,14 +298,6 @@ def downloadsomething(): os.chdir(rootDir + "\\temp") subprocess.run(f"curl -LO {dynalink('Resource/build_req/stylesheets-main.zip')}") subprocess.run(f"7z x stylesheets-main.zip -oALL") - shutil.move( - "ALL/bass.dll", - f"{rootDir}/LunaTranslator/files/plugins/DLL32", - ) - shutil.move( - "ALL/x64/bass.dll", - f"{rootDir}/LunaTranslator/files/plugins/DLL64", - ) def downloadbass(): @@ -313,8 +305,13 @@ def downloadbass(): os.chdir(rootDir + "\\temp") subprocess.run(f"curl -LO https://www.un4seen.com/files/bass24.zip") subprocess.run(f"7z x bass24.zip -oALL") - move_directory_contents( - "ALL/stylesheets-main", rootDir + "\\LunaTranslator\\files\\themes" + shutil.move( + "ALL/bass.dll", + f"{rootDir}/LunaTranslator/files/plugins/DLL32", + ) + shutil.move( + "ALL/x64/bass.dll", + f"{rootDir}/LunaTranslator/files/plugins/DLL64", )