mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
C!
This commit is contained in:
parent
ab9d28f988
commit
0ce8a0e636
8
build.py
8
build.py
@ -113,8 +113,12 @@ def downloadcommon():
|
|||||||
|
|
||||||
for item in contents:
|
for item in contents:
|
||||||
item_path = os.path.join(source_dir, item)
|
item_path = os.path.join(source_dir, item)
|
||||||
shutil.copytree(item_path, destination_dir,dirs_exist_ok=True)
|
try:
|
||||||
#shutil.move(item_path, destination_dir)
|
shutil.move(item_path, destination_dir)
|
||||||
|
except:
|
||||||
|
for k in os.listdir(item_path):
|
||||||
|
shutil.move(os.path.join(item_path,k), os.path.join(destination_dir,item))
|
||||||
|
|
||||||
move_directory_contents(
|
move_directory_contents(
|
||||||
"ALL/ALL", f"{rootDir}/LunaTranslator/files/plugins"
|
"ALL/ALL", f"{rootDir}/LunaTranslator/files/plugins"
|
||||||
)
|
)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user