mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:05:54 +01:00
[PR #313] run_guest_scene: take the Wine from $WINE when --wine is not given #367
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#367
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/313
Author: @Andretuta
Created: 11/24/2026
Status: 🔄 Open
Base:
main← Head:old-pr/10047📝 Commits (1)
d350623run_guest_scene: take the Wine from $WINE when --wine is not given📊 Changes
2 files changed (+82 additions, -4 deletions)
View changed files
📝
scripts/run_guest_scene.py(+7 -4)➕
tests/test_run_guest_scene_wine.py(+75 -0)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Claim: https://github.com/ProjectLeonida/Leonida/issues/9677#issuecomment-7117065492
On Linux,
scripts/run_guest_scene.pystops at--wine is required outside Windowseven whenWINEnames the Wine to use (for example UMU-Proton'sfiles/bin/wine).run_wine_tests.pyalready defaults--wineto$WINE.--winenow defaults to$WINE. A blankWINEcounts as unset, and--winestill wins when both are given.WINE, and "not found" now names the path it tried.tests/test_run_guest_scene_wine.py(synthetic files only) covers: Wine taken fromWINE,--wine-argwith Wine fromWINE,--wineoverridingWINE, unset/blankWINEstill refused, and aWINEthat does not exist. Onmain5 of its 5 tests fail; with this change they pass.test_docs_cli_flags,test_dev_guest_sceneandtest_dev_discoverystill pass.I checked it on Arch with UMU-Proton 11.0: with
WINE=…/UMU-Proton-11.0-2e-x86_64/files/bin/wine,parse_argsresolves to that wine. WithWINEunset it still exits 2. No game files, no GPU.AI-assisted (Claude Code, Claude Opus 5.5).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.