mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-17 08:53:28 -05:00
fix: count instruction notes in pack_files
This commit is contained in:
1 parent
42950a553c
commit
03784eeceb
2 files changed
+46
No files matched your search
@@ -3704,6 +3704,18 @@ def generate_manifest(
|
||||
"user_provided",
|
||||
None,
|
||||
)
|
||||
# The pack writes the instructions in the slot's place
|
||||
# and holds it: one more member than the files listed.
|
||||
instructions = file_entry.get(
|
||||
"instructions", "Please provide this file manually."
|
||||
)
|
||||
pack_only_sizes.append(len(
|
||||
f"File needed: {file_entry['name']}\n\n{instructions}\n".encode()
|
||||
))
|
||||
seen_destinations.add(dedup_key)
|
||||
_register_path(dedup_key, seen_destinations, seen_parents)
|
||||
if case_insensitive:
|
||||
seen_lower.add(dedup_key.lower())
|
||||
continue
|
||||
|
||||
local_path, status = settle(
|
||||
|
||||
Reference in new issue
Block a user