From 29ab1c5cfb443b5edd4fccf8ea0105773b1f4882 Mon Sep 17 00:00:00 2001 From: Magi3r Date: Mon, 4 Nov 2024 15:49:38 +0100 Subject: [PATCH] Fix missing usage of BASE_PATH --- src/window.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/window.py b/src/window.py index d54728e..34c9003 100644 --- a/src/window.py +++ b/src/window.py @@ -357,7 +357,7 @@ def install_live2d(self): os.makedirs(os.path.expanduser("~/.cache/wordllama/tokenizers"), exist_ok=True) except Exception as e: print(e) - subprocess.run(['cp', '-a', '/app/data/live2d/web/build', os.path.join(self.directory, "avatars/live2d/web")]) + subprocess.run(['cp', '-a', os.path.join(BASE_PATH, 'live2d/web/build'), os.path.join(self.directory, "avatars/live2d/web")]) def show_presentation_window(self): self.presentation_dialog = PresentationWindow("presentation", self.settings, self.directory, self)