Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestion - Check & remove 'Arcade Organized/cores' if file / not a symlink #62

Open
W00kums opened this issue Jan 21, 2024 · 0 comments

Comments

@W00kums
Copy link

W00kums commented Jan 21, 2024

Scenario:

  • Simply copying/syncing a MiSTer setup to another storage device will break symlinks, turning them into regular files with the content being the path the link was originally directing to.

Issues:

  • Update will fail to create/update the symlink if '_Arcade Organized/cores' already exists as a file
  • Cleanup does not remove '_Arcade Organized/cores' (symlink or regular file), so the issue will still persist even after a cleanup

Suggestions:

  • On cleanup, remove '_Arcade Organized/cores' (mainly if not a link)
  • On update, check if '_Arcade Organized/cores' is a file (or not a link) and remove it prior to creating the symlink

For extra caution:

  • If '_Arcade Organized/cores' is determined to be a file, then it could be read/verified to contain the full path to '_Arcade/cores' prior to removal

I figure this is something that general MiSTer users could run into if they maintain multiple MiSTers or change/upgrade storage and a quick check/removal before generating the link would eliminate the issue.

Thanks for all you do for the community!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant