fix: skip emulator folders closed to this user

Termux on Android 11 cannot look into another app's Android/data
folder. The standalone-copy probes called Path.is_dir() there, and
PermissionError stopped the run after the install. Closed folders now
count as absent, and --standalone-copies names them as skipped.
This commit is contained in:
Abdessamad Derraz committed 2026-11-12 00:38:30 +01:00
1 parent 85bcfca125
commit 06aeace091
5 files changed
+80 -24

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="26fef8daf6087201d43e1c1cb5b69e255358f38f28ca1e45782984a0240dc7d3"
DEFAULT_INSTALL_SHA256="a49a36df4dbde3cf0c3f2b5260c44d56f6fd51315272ed773991b27fd6ed67be"
# 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