Some minor changes to support arch distros.

This commit is contained in:
2026-08-28 20:14:35 +02:00
parent e515080171
commit d2c66b6316
5 changed files with 23 additions and 176 deletions

View File

@@ -70,8 +70,8 @@ def inspect_host(environment: Mapping[str, str] | None = None) -> DoctorReport:
ToolStatus(
"gamescope",
shutil.which("gamescope"),
True,
"borderless X11/Wayland game container",
False,
"optional manual game-container diagnostics",
),
ToolStatus(
"cabextract",
@@ -147,22 +147,22 @@ def _python_tk_path() -> str | None:
def _package_hint(distribution: str) -> str | None:
if distribution in {"ubuntu", "debian", "linuxmint", "pop"}:
return (
"Install Python/Tk, Wine (64- and 32-bit), Winetricks, Gamescope, "
"Install Python/Tk, Wine (64- and 32-bit), Winetricks, "
"Cabextract, OpenSSL, and both 64- and 32-bit Vulkan drivers with APT."
)
if distribution in {"fedora", "nobara"}:
return (
"Install python3-tkinter, wine, winetricks, gamescope, cabextract, openssl, "
"Install python3-tkinter, wine, winetricks, cabextract, openssl, "
"and the matching 32-bit Vulkan driver with DNF."
)
if distribution in {"arch", "cachyos", "endeavouros", "manjaro"}:
return (
"Install python, tk, wine, winetricks, gamescope, cabextract, openssl, and "
"the matching lib32 Vulkan driver with Pacman."
"Install python, tk, wine, winetricks, umu-launcher, cabextract, "
"openssl, and the matching lib32 Vulkan driver with Pacman."
)
if distribution in {"opensuse-tumbleweed", "opensuse-leap", "suse"}:
return (
"Install Python/Tk, Wine, Winetricks, Gamescope, Cabextract, OpenSSL, and "
"Install Python/Tk, Wine, Winetricks, Cabextract, OpenSSL, and "
"32-bit Vulkan support with Zypper."
)
return None