worlds,clients,kvui: use user_path (#1622)

This commit is contained in:
black-sliver
2023-03-29 20:14:45 +02:00
committed by GitHub
parent bb79073ce7
commit 639606e0be
5 changed files with 12 additions and 6 deletions

View File

@@ -88,7 +88,10 @@ def is_frozen() -> bool:
def local_path(*path: str) -> str:
"""Returns path to a file in the local Archipelago installation or source."""
"""
Returns path to a file in the local Archipelago installation or source.
This might be read-only and user_path should be used instead for ROMs, configuration, etc.
"""
if hasattr(local_path, 'cached_path'):
pass
elif is_frozen():