Fix stretched music logo and paths for Windows

This commit is contained in:
csd4ni3l
2025-06-10 19:07:43 +02:00
parent caf567b003
commit 866d5461a9
5 changed files with 18 additions and 11 deletions

2
run.py
View File

@@ -19,7 +19,7 @@ from arcade.experimental.controller_window import ControllerWindow
sys.excepthook = on_exception
pyglet.resource.path.append(os.getcwd())
pyglet.font.add_directory('./assets/fonts')
pyglet.font.add_directory(os.path.join(os.getcwd(), 'assets', 'fonts'))
if not log_dir in os.listdir():
os.makedirs(log_dir)