Repository navigation
Ignore AppleDouble metadata when resolving native game programs - #401
Merged
elripalda merged 2 commits intoNov 25, 2026
Merged
Conversation
exFAT and NTFS drives give every file the run permission, so a Dusklight.log or game.pck whose name matched could still be taken for the game. Judge it like install::is_program: an ELF, a #! script, or on a Mac a program for this processor.
Xarishark
approved these changes
Nov 25, 2026
Xarishark
left a comment
Collaborator
There was a problem hiding this comment.
All notes resolved and CI passed. Approving.
1 task done
5 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
On external drives, macOS AppleDouble metadata files such as
._Dusklight.appcan have execute permission. The profile resolver treated that AppleDouble sidecar as the native game program before considering the declaredDusklight.app/Contents/MacOS/Dusklightpath, causing the launch failure reported in #390.Exclude
._*metadata from native-twin selection, including filenames with normally accepted executable extensions. The regression uses the bundled Dusklight profile and synthetic files; no game files are needed.Validation: both regressions fail before the fix and pass after it; full Rust suite 956 passed / 1 ignored; full UI suite 661 passed / 11 platform skips;
git diff --checkclean. This fixes the launcher choosing metadata, without claiming to validate the game's runtime.Fixes #390.