mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-10-26 05:37:20 -05:00
fix: replace a link at a standalone copy's name
A link already at the destination was skipped without a word and counted as "dir not found" while the folder existed, so the emulator kept the file the link pointed at. The link now gives way to the file, written beside it and renamed over the name, and a name leading out of the folder is a named failure.
This commit is contained in:
1 parent
9b1d378d2f
commit
1392f00c8d
5 files changed
+55
-19
No files matched your search
+6
-5
@@ -404,9 +404,10 @@ run rather than a file to copy.
|
||||
|
||||
Targets are per OS, WSL falling back to the Linux ones. A directory that does
|
||||
not exist is skipped rather than created, so nothing is copied for an emulator
|
||||
that is not installed. A destination that is already a symbolic link is skipped
|
||||
too: the copy leaves the tree the user opted into, and a link there would
|
||||
redirect the write somewhere else again.
|
||||
that is not installed. A destination that is already a symbolic link is
|
||||
replaced by the file rather than written through: a write through the link
|
||||
would land outside the folder the user opted into. The summary counts each
|
||||
copy as copied, skipped (folder absent) or failed, and names every failure.
|
||||
|
||||
## Android
|
||||
|
||||
@@ -478,8 +479,8 @@ user's own layout, and EmuDeck links `bios/shadps4/sys_modules` into shadPS4's
|
||||
data directory where the emulator actually reads it. The boundary is lexical,
|
||||
not a resolved-path comparison, which is what keeps that case working.
|
||||
Standalone copies are stricter, since they write outside the tree the user
|
||||
selected: a symlink already sitting at the destination is skipped rather than
|
||||
followed.
|
||||
selected: a symlink already sitting at the destination is replaced by the
|
||||
file rather than followed.
|
||||
|
||||
## Changing the installer
|
||||
|
||||
|
||||
Reference in new issue
Block a user