Skip to content

Dedupe installs resolving to the same directory (os.SameFile) - #368

Open
Luspuz wants to merge 1 commit into
satisfactorymodding:masterfrom
Luspuz:dedupe-same-file-installs
Open

Luspuz wants to merge 1 commit into
satisfactorymodding:masterfrom
Luspuz:dedupe-same-file-installs

Conversation

@Luspuz

@Luspuz Luspuz commented Oct 10, 2026

Copy link
Copy Markdown

Steam finder emits both steamapps and SteamApps casings. On case-insensitive filesystems (default macOS APFS) both paths resolve to the same folder, but OsPathEqual only folded case on Windows, so the same install showed up twice. Compare file identity first, which is correct on every platform.

Fixes this kind of duplicates:
Screenshot 2026-10-10 at 22 02 07

Steam finder emits both steamapps and SteamApps casings. On
case-insensitive filesystems (default macOS APFS) both paths resolve to
the same folder, but OsPathEqual only folded case on Windows, so the
same install showed up twice. Compare file identity first, which is
correct on every platform.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 🆕 New

Development

Successfully merging this pull request may close these issues.

1 participant