mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-26 21:57:24 -05:00
fix: pass --from to the runs the tui starts
The interface accepted --from and its check and install runs never got it, so they downloaded what the folder holds. Pins in install.sh and install.ps1 follow install.py.
This commit is contained in:
1 parent
0369c75dfe
commit
c496014f64
4 files changed
+20
-2
No files matched your search
@@ -10665,6 +10665,10 @@ def _tui_passthrough(args: argparse.Namespace) -> list[tuple[str, str | None]]:
|
||||
flags.append((flag, str(Path(value).absolute())))
|
||||
flags += [("--emulator", name) for name in args.emulator or []]
|
||||
flags += [("--from-pack", str(Path(pack).absolute())) for pack in args.from_pack or []]
|
||||
# The handheld launchers start --tui --from the other card: without it here
|
||||
# the runs downloaded what that card holds.
|
||||
flags += [("--from", str(Path(folder).absolute()))
|
||||
for folder in getattr(args, "from", None) or []]
|
||||
for flag in ("--every-board", "--standalone-copies", "--verbose"):
|
||||
if getattr(args, flag[2:].replace("-", "_")):
|
||||
flags.append((flag, None))
|
||||
|
||||
Reference in new issue
Block a user