Resolve relative CrossOver paths before launch #2
No reviewers
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/paveledits--ScarlettMac!2
Loading…
Reference in a new issue
No description provided.
Delete branch "gh-pr/2/head"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@civilwarinfrance on GitHub · 2026-11-26 09:20 UTC · original
civilwarinfrance:fix/relative-crossover-app→main· +1 −1 · 1 files · 1 commits · merged 2026-11-26 10:11 UTCChanges
SCARLETT_CROSSOVER_APP=./CrossOver.apppasses the launcher’s executable check, but Wine then fails to start because the script has changed into the bottle’s runtime directory. Resolve the app path before changing directories so relative paths work too.Verification
zsh -n scripts/run.shandzsh -n scripts/build.shpassed.sandbox-execwith a temporary bottle and a stub Wine executable. The relative path failed before the change. Absolute and relative paths both passed after it, including paths with spaces. The launcher also passed through Wine’s failing exit code and removed the lock and temporary drive mapping.Tested launcher behavior with synthetic files. CrossOver, D3DMetal and the game were not run.
AI assistance: OpenAI Codex wrote and tested the patch.