mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-12 06:23:23 -05:00
feat: pack the files a directory entry names
This commit is contained in:
1 parent
9059234810
commit
2efc37a738
12 files changed
+466
-5
No files matched your search
@@ -36,6 +36,7 @@ from common import (
|
||||
build_zip_contents_index,
|
||||
check_inside_zip,
|
||||
compute_hashes,
|
||||
expand_directory_entries,
|
||||
expand_platform_declared_names,
|
||||
fetch_large_file,
|
||||
filter_systems_by_target,
|
||||
@@ -1288,7 +1289,11 @@ def generate_emulator_pack(
|
||||
with zipfile.ZipFile(zip_path, "w", zipfile.ZIP_DEFLATED) as zf:
|
||||
for emu_name, profile in sorted(selected):
|
||||
pack_structure = profile.get("pack_structure")
|
||||
files = filter_files_by_mode(profile.get("files", []), standalone)
|
||||
files = expand_directory_entries(
|
||||
filter_files_by_mode(profile.get("files", []), standalone),
|
||||
db,
|
||||
standalone,
|
||||
)
|
||||
# A tree only one build reads follows that build, like a file.
|
||||
for dd in filter_files_by_mode(
|
||||
profile.get("data_directories", []), standalone
|
||||
|
||||
Reference in new issue
Block a user