mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-28 12:28:51 -06:00
fix: follow moved retrodeck folders under --dest
A run given --platform and --dest never detects, so retrodeck.json was never read and a moved bios/ folder was ignored. MovedFolders looks the root up on first use, is reset per run, and detection only warms it.
This commit is contained in:
1 parent
9f3fc2e0c1
commit
c4a129e200
10 files changed
+177
-54
No files matched your search
@@ -30,6 +30,7 @@ from installer.lists import ListFailure, load_targets
|
||||
from installer.offline import LOCAL
|
||||
from installer.pack import pack_path
|
||||
from installer.pack_source import pack_name_platforms
|
||||
from installer.paths import MOVED
|
||||
from installer.platforms import AVAILABLE_PLATFORMS, _NO_BIOS_FOLDER, display_name, normalize_platform
|
||||
from installer.refusal import Refusal
|
||||
from installer.run_files import _output_kind, needed_targets
|
||||
@@ -109,6 +110,7 @@ class _InstallRun:
|
||||
def _start_install(args: argparse.Namespace, real_stdout: TextIO) -> _InstallRun:
|
||||
"""The run's options completed, its terminal and its local sources opened."""
|
||||
KEPT.reset()
|
||||
MOVED.reset()
|
||||
# A namespace built by a caller that predates --for-games has neither.
|
||||
args.for_games = getattr(args, "for_games", None)
|
||||
args.required_only = getattr(args, "required_only", False)
|
||||
|
||||
Reference in new issue
Block a user