mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-26 03:18:52 -06:00
refactor: group outcome, check and menu arguments
This commit is contained in:
1 parent
b2dd7a3483
commit
188f9393a3
9 files changed
+221
-159
No files matched your search
@@ -263,10 +263,12 @@ def line_menu() -> str:
|
||||
+ ([("--no-game-data", None)] if cut[0] else []))
|
||||
return invocation.command("retroarch", folder)
|
||||
|
||||
context = _install.MenuContext(
|
||||
"retroarch", files, manifest.get("omitted_files") or [], name="RetroArch",
|
||||
data_trees=manifest.get("data_directories") or [], bios_path=folder,
|
||||
manifest=manifest)
|
||||
_install._prompt_custom_selection(
|
||||
"retroarch", files, manifest.get("omitted_files") or [], None, "RetroArch",
|
||||
False, manifest.get("data_directories") or [], folder,
|
||||
_install.records_selection(files), None, manifest, False, command, cut)
|
||||
context, choosable=_install.records_selection(files), command=command, cut=cut)
|
||||
return "```\n" + out.getvalue().strip("\n") + "\n```"
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user