mirror of
https://github.com/Yonokid/PyTaiko.git
synced 2026-02-04 11:40:13 +01:00
add demo song, create cache on first startup
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user