mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-18 01:13:30 -05:00
fix: tell a pack note by its name, not its path
This commit is contained in:
1 parent
ccb35b9b82
commit
af4b43d64c
2 files changed
+6
-2
No files matched your search
@@ -144,7 +144,11 @@ def verify_pack(
|
||||
if info.is_dir():
|
||||
continue
|
||||
name = info.filename
|
||||
if name.startswith(("INSTRUCTIONS_", "RENAMED_")) or name in (
|
||||
# The builder writes its notes beside the slot they explain
|
||||
# (bios/INSTRUCTIONS_x.txt, games/keen6/INSTRUCTIONS_y.txt), so
|
||||
# they are told by their own name, not by a root prefix.
|
||||
base = name.rsplit("/", 1)[-1]
|
||||
if base.startswith(("INSTRUCTIONS_", "RENAMED_")) or name in (
|
||||
"manifest.json",
|
||||
"README.txt",
|
||||
):
|
||||
|
||||
Reference in new issue
Block a user