add demo song, create cache on first startup

This commit is contained in:
Yonokid
2025-06-12 17:07:38 -04:00
parent eda889b985
commit 58700f2319
4 changed files with 707 additions and 1 deletions

View File

@@ -219,6 +219,9 @@ rotation_cache = dict()
char_size_cache = dict()
horizontal_cache = dict()
text_cache = set()
if not Path('cache/image').exists():
Path('cache').mkdir()
Path('cache/image').mkdir()
for file in Path('cache/image').iterdir():
text_cache.add(file.stem)