change: require explicit Steam launch command
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run

This commit is contained in:
aclist committed 2026-10-26 15:47:45 +09:00
1 parent f4be9a31e9
commit 3e6bd95285
2 files changed
+5 -2

No files matched your search

+4 -1
View File
@@ -26,8 +26,9 @@ from dzgui.const.constants import (
FLATPAK_CMD,
FLATPAK_STEAM_PATH,
LIBRARYFOLDERS_PATH,
UBUNTU_STEAM_PATH,
REQUEST_TIMEOUT,
STEAM_CMD,
UBUNTU_STEAM_PATH,
VDF_PATH,
)
from dzgui.const.endpoints import (
@@ -86,6 +87,8 @@ def get_steam_paths() -> list[tuple[Path, str]]:
for path in DEFAULT_PATH, FLATPAK_PATH, UBUNTU_PATH, DEBIAN_PATH:
if path is FLATPAK_PATH and has_cmd(FLATPAK_CMD) is False:
continue
if path is not FLATPAK_PATH and has_cmd(STEAM_CMD) is False:
continue
if path.joinpath(VDF_PATH).is_file():
paths.append((path, human[path]))
return paths
+1 -1
View File
@@ -19,7 +19,7 @@ desc_flatpak_path = (
desc_ubuntu_path = "This is the default Steam path on <b>Ubuntu-based systems</b>."
desc_debian_path = "This is the default Steam path on <b>Debian-based systems</b>."
no_valid_paths = (
"No valid Steam paths found on system. Please install Steam to continue."
"No valid Steam path or Steam command found on system. Please install Steam to continue."
)
button_scan = "Scan for Steam"