mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 00:24:13 +08:00
..
This commit is contained in:
parent
d29ab97b07
commit
6319434a86
5
.github/scripts/build_lunatranslator.py
vendored
5
.github/scripts/build_lunatranslator.py
vendored
@ -121,12 +121,13 @@ def downloadmecab():
|
|||||||
os.chdir(rootDir + "\\temp")
|
os.chdir(rootDir + "\\temp")
|
||||||
subprocess.run(f"curl -LO {mylinks['mecab.zip']}")
|
subprocess.run(f"curl -LO {mylinks['mecab.zip']}")
|
||||||
subprocess.run(f"7z x mecab.zip -oALL")
|
subprocess.run(f"7z x mecab.zip -oALL")
|
||||||
|
move_directory_contents("ALL/ALL", f"{rootDir}/files/plugins")
|
||||||
|
|
||||||
def downloadmapie():
|
def downloadmapie():
|
||||||
os.chdir(rootDir + "\\temp")
|
os.chdir(rootDir + "\\temp")
|
||||||
subprocess.run(f"curl -LO {mylinks['magpie.zip']}")
|
subprocess.run(f"curl -LO {mylinks['magpie.zip']}")
|
||||||
subprocess.run(f"7z x magpie.zip -oALL")
|
subprocess.run(f"7z x magpie.zip -oALL")
|
||||||
|
move_directory_contents("ALL/ALL", f"{rootDir}/files/plugins")
|
||||||
|
|
||||||
|
|
||||||
def downloadLocaleEmulator():
|
def downloadLocaleEmulator():
|
||||||
@ -279,7 +280,6 @@ if __name__ == "__main__":
|
|||||||
downloadbass()
|
downloadbass()
|
||||||
os.chdir(rootDir)
|
os.chdir(rootDir)
|
||||||
if arch == "xp":
|
if arch == "xp":
|
||||||
move_directory_contents("ALL/ALL", f"{rootDir}/files/plugins")
|
|
||||||
shutil.copytree(
|
shutil.copytree(
|
||||||
f"{rootDir}/../build/cpp_xp",
|
f"{rootDir}/../build/cpp_xp",
|
||||||
f"{rootDir}/../cpp/builds",
|
f"{rootDir}/../cpp/builds",
|
||||||
@ -305,7 +305,6 @@ if __name__ == "__main__":
|
|||||||
downloadOCRModel()
|
downloadOCRModel()
|
||||||
downloadmapie()
|
downloadmapie()
|
||||||
downloadlr()
|
downloadlr()
|
||||||
move_directory_contents("ALL/ALL", f"{rootDir}/files/plugins")
|
|
||||||
|
|
||||||
os.chdir(rootDir)
|
os.chdir(rootDir)
|
||||||
shutil.copytree(
|
shutil.copytree(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user