This commit is contained in:
恍兮惚兮 2024-08-10 20:43:38 +08:00
parent 795416fa96
commit fb63746c6c

View File

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