diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-07-27 01:01:16 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-07-27 01:01:16 -0300 |
commit | 0c504dcdd679b86065496b195451ae1d58d03541 (patch) | |
tree | 71d268fc2e32c6154f3431799ac1450313368ea8 | |
parent | 715ff683d594c7327d5c0f849b0ea76704641cda (diff) | |
download | tools-0c504dcdd679b86065496b195451ae1d58d03541.tar.gz tools-0c504dcdd679b86065496b195451ae1d58d03541.tar.bz2 tools-0c504dcdd679b86065496b195451ae1d58d03541.tar.xz tools-0c504dcdd679b86065496b195451ae1d58d03541.zip |
Update merge-client to override SFX folder
-rwxr-xr-x | merge-client.py | 12 |
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 |