PS5NorModifier icon indicating copy to clipboard operation
PS5NorModifier copied to clipboard

Fix bin file exists check

Open ScrubN opened this issue 7 months ago • 2 comments

The previous code was using a configuration property to check if the file exists, which would always pass because it defaults to true.

ScrubN avatar May 09 '25 02:05 ScrubN

Force pushed the wrong branch, whoops.

ScrubN avatar May 09 '25 02:05 ScrubN

If the user deletes the file in the 50 microseconds between the File.Exists check and the new FileStream and get a crash, then they deserve a medal. I see your point, but I disagree that it's relevant in this specific scenario, especially because I want to minimize diff changes to make it easier for TheCod3r to review the PR, and to avoid merge conflicts with #12.

ScrubN avatar May 09 '25 13:05 ScrubN