games-util/bottles: use unresolved path to umu-run

Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
This commit is contained in:
Pavel Sobolev committed 2026-08-15 19:07:48 +03:00
1 parent ea49afc91c
commit f3a16ba9ff
2 files changed
+18

No files matched your search

@@ -74,6 +74,7 @@ PATCHES=(
"${FILESDIR}/${PN}-64.1-dont-stub-gi.repository.patch"
"${FILESDIR}/${PN}-64.1-relax-AppStream-file-validation.patch"
"${FILESDIR}/${PN}-66.6-remove-Flatpak-related-checks.patch"
"${FILESDIR}/${PN}-66.6-r1-use-unresolved-path-to-umu-run.patch"
)
EPYTEST_DESELECT=(
@@ -0,0 +1,17 @@
From: Pavel Sobolev <contact@paveloom.dev>
Subject: [PATCH] Use unresolved path to `umu-run`
Otherwise, it will try to run `python-exec2` directly.
Signed-off-by: Pavel Sobolev <contact@paveloom.dev>
--- a/bottles/backend/umu/provider.py
+++ b/bottles/backend/umu/provider.py
@@ -44,7 +44,7 @@ class UmuProvider:
def _inspect(self, path: Path, source: UmuProviderSource) -> UmuInstallation:
try:
- resolved = path.expanduser().resolve(strict=True)
+ resolved = path.expanduser().absolute()
except OSError as error:
raise UmuProviderError(f"UMU launcher does not exist: {path}") from error
if not resolved.is_file() or not os.access(resolved, os.X_OK):