Skip to content

Commit

Permalink
Fix missing usage of BASE_PATH
Browse files Browse the repository at this point in the history
  • Loading branch information
Magi3r committed Nov 4, 2024
1 parent 3e9e597 commit 29ab1c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/window.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 29ab1c5

Please sign in to comment.