From 0c504dcdd679b86065496b195451ae1d58d03541 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 27 Jul 2023 01:01:16 -0300 Subject: Update merge-client to override SFX folder --- merge-client.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 -- cgit v1.2.3-70-g09d2