mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-27 20:08:51 -06:00
refactor: public names for cross-module reads
This commit is contained in:
1 parent
f371790dc6
commit
3853ca2f1c
254 files changed
+2955
-2969
No files matched your search
@@ -32,9 +32,9 @@ def _pack_path(platform_name: str) -> str | None:
|
||||
"""Path of the platform's full pack, by the exact name the builder writes."""
|
||||
if not os.path.isdir(DIST_DIR):
|
||||
return None
|
||||
from packs.naming import _expected_pack_names
|
||||
from packs.naming import expected_pack_names
|
||||
|
||||
names = _expected_pack_names([platform_name], PLATFORMS_DIR, [], None)
|
||||
names = expected_pack_names([platform_name], PLATFORMS_DIR, [], None)
|
||||
for entry in sorted(names[platform_name]):
|
||||
path = os.path.join(DIST_DIR, entry)
|
||||
if os.path.isfile(path):
|
||||
|
||||
Reference in new issue
Block a user