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:
Abdessamad Derraz committed 2026-11-22 00:58:06 +01:00
1 parent 9f3fc2e0c1
commit c4a129e200
10 files changed
+177 -54

No files matched your search

+1 -1
View File
@@ -23,7 +23,7 @@ DEFAULT_INSTALL_URL="https://raw.githubusercontent.com/Abdess/retrobios/main/ins
# curl or wget stop on a cut transfer before the hash is read: the site's
# build rewrites this line there (scripts/sitebootstrap.py).
MISMATCH_ADVICE="The download was most likely cut short: try again. Within minutes of an update of this project the two files can come from caches of different ages. Waiting five minutes settles that."
DEFAULT_INSTALL_SHA256="1c6286c90deb064affd0506cfa7b0c0c4ff19ad1555518f256ac98af86e188e2"
DEFAULT_INSTALL_SHA256="1e45d5dd7b8904b85e9ce9cf30235e818e894b78099569476f0798b8ed4b90d0"
# The pin above refuses any changed byte: this cap only stops a body that
# cannot be the installer (a sign-in portal's page) before it is hashed.
MAX_INSTALLER_BYTES=8388608