mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-24 04:39:06 -05:00
feat: keep a replaced BIOS file beside its folder
A file in place whose contents differ (another revision, a personal dump) was overwritten and lost. It is now moved to retrobios-backup/<date-time>/ beside the folder written to, under the same path, before the verified copy replaces it. Beside, not inside: DuckStation, SwanStation and Rustation read every file of the BIOS folder and BizHawk walks its firmware folder recursively. Identical files are never kept. --dry-run counts what would be kept, the summary and the summary event name the folder, files and bytes, and --restore FOLDER puts the files back. Data trees and standalone copies keep their replaced files the same way.
This commit is contained in:
1 parent
2870c72ccb
commit
468b5e1d3e
13 files changed
+695
-41
No files matched your search
@@ -498,7 +498,8 @@ def generate_home(
|
||||
"## Is this safe?",
|
||||
"",
|
||||
"The installer writes only inside your BIOS folder, checks every file "
|
||||
"before saving it, and never touches games or saves. "
|
||||
"before saving it, keeps any file of yours it replaces in a "
|
||||
"retrobios-backup folder beside it, and never touches games or saves. "
|
||||
"[How the command is checked](wiki/faq.md#is-piping-the-installer-into-a-shell-safe).",
|
||||
"",
|
||||
"Laws on copying console firmware differ by country. "
|
||||
|
||||
@@ -414,8 +414,9 @@ TRUST_NOTE = (
|
||||
"checks the installer against a fingerprint it carries, then the installer "
|
||||
"downloads the files your setup needs and checks each one before saving it. "
|
||||
"It writes only inside your BIOS folder. A BIOS file whose contents differ "
|
||||
"from the expected one is replaced with a checked copy, and files it does "
|
||||
"not know are never moved or deleted. Games and saves are never touched."
|
||||
"from the expected one is replaced with a checked copy, and yours is kept in "
|
||||
"a retrobios-backup folder beside it. Files it does not know are never moved "
|
||||
"or deleted. Games and saves are never touched."
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user