mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:15:52 +01:00
[PR #296] make_game: gta6rt.sh resolves a relative WINE before changing to the game folder #348
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#348
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/296
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/10028📝 Commits (1)
bc83450make_game: gta6rt.sh resolves a relative WINE before changing to the game folder📊 Changes
2 files changed (+14 additions, -0 deletions)
View changed files
📝
make_game.py(+5 -0)📝
tests/test_make_game_platform.py(+9 -0)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):gta6rt.sh's packaged modes (--dry-run,--init,--run)cdinto the game package beforeexec "${WINE:-wine}". A relativeWINE, such asWINE=UMU-Proton-11.0-2e-x86_64/files/bin/wine <out>/gta6rt.sh --runfromcompatibilitytools.d, was then looked up inside the game folder and failed with "not found".The launcher now turns a
WINEthat contains a/but does not start with one into$PWD/$WINEbefore thecd. Absolute paths and bare names (looked up onPATH) are unchanged. Same class as#9548forrun_wine_tests.Test:
test_wine_first_boot_uses_the_packaged_game_and_shader_pathsgets a relativeWINEunder aProton 9.0/files/binfolder (a symlink to the test's Python) and checks the--dry-runargv and working directory.python3 -m unittest tests.test_make_game_platform46/46 pass; without themake_game.pychange the extended test fails.Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7117061725
AI-assisted (Claude Code).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.