This commit is contained in:
恍兮惚兮 2024-05-03 19:46:10 +08:00
parent 1b289b8e8e
commit 30c646ddd0

View File

@ -77,6 +77,7 @@ def downloadlr():
)["assets"]: )["assets"]:
if "browser_download_url" in ass: if "browser_download_url" in ass:
os.chdir(rootDir + "\\temp") os.chdir(rootDir + "\\temp")
subprocess.run(f"curl -LO {ass['browser_download_url']}")
subprocess.run(f"7z x {ass['name']} -oLR") subprocess.run(f"7z x {ass['name']} -oLR")
os.makedirs( os.makedirs(
f"{rootDir}/LunaTranslator/files/plugins/Locale_Remulator", f"{rootDir}/LunaTranslator/files/plugins/Locale_Remulator",