summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2023-07-27 01:01:16 -0300
committerJesusaves <cpntb1@ymail.com>2023-07-27 01:01:16 -0300
commit0c504dcdd679b86065496b195451ae1d58d03541 (patch)
tree71d268fc2e32c6154f3431799ac1450313368ea8
parent715ff683d594c7327d5c0f849b0ea76704641cda (diff)
downloadtools-0c504dcdd679b86065496b195451ae1d58d03541.tar.gz
tools-0c504dcdd679b86065496b195451ae1d58d03541.tar.bz2
tools-0c504dcdd679b86065496b195451ae1d58d03541.tar.xz
tools-0c504dcdd679b86065496b195451ae1d58d03541.zip
Update merge-client to override SFX folder
-rwxr-xr-xmerge-client.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/merge-client.py b/merge-client.py
index be5019b..7e10521 100755
--- a/merge-client.py
+++ b/merge-client.py
@@ -166,6 +166,18 @@ def unify(YESELF, sub):
except:
traceback.print_exc()
+ ## Sounds Effects Copy (clobber method)
+ try:
+ shutil.copytree("%s/sfx" % (YESELF),
+ "%s/sfx" % (MYSELF),
+ dirs_exist_ok=True)
+ continue
+ except FileNotFoundError:
+ print("\033[1mFailed to copy: %s\033[0m" % f)
+ pass
+ except:
+ traceback.print_exc()
+
paths=[]
return