change: disambiguate custom XDG_DATA_HOME
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run

This commit is contained in:
aclist committed 2026-11-18 16:27:11 +09:00
1 parent 45c412e1ad
commit 29223a8a1f
2 files changed
+4 -1

No files matched your search

+3 -1
View File
@@ -70,8 +70,10 @@ def get_steam_paths() -> list[tuple[Path, str]]:
if env is not None:
XDG_DATA_HOME = Path(env)
DEFAULT_PATH = XDG_DATA_HOME.joinpath("Steam")
default_label = wizard.desc_custom_path
else:
DEFAULT_PATH = HOME.joinpath(DEFAULT_STEAM_PATH)
default_label = wizard.desc_default_path
FLATPAK_PATH = HOME.joinpath(FLATPAK_STEAM_PATH)
UBUNTU_PATH = HOME.joinpath(UBUNTU_STEAM_PATH)
@@ -79,7 +81,7 @@ def get_steam_paths() -> list[tuple[Path, str]]:
SNAP_PATH = HOME.joinpath(SNAP_STEAM_PATH)
human = {
DEFAULT_PATH: wizard.desc_default_path,
DEFAULT_PATH: default_label,
FLATPAK_PATH: wizard.desc_flatpak_path,
UBUNTU_PATH: wizard.desc_ubuntu_path,
SNAP_PATH: wizard.desc_snap_path,
+1
View File
@@ -12,6 +12,7 @@ blurb_steam_path = """
DZGUI needs to find the location to your default Steam installation.
This will be used to determine whether (and where) DayZ is installed.
"""
desc_custom_path = "This is the expected Steam path <b>if you set a custom XDG_DATA_HOME directory.</b>"
desc_default_path = "This is the default Steam path on <b>most distributions</b>."
desc_flatpak_path = (
"This is the default Steam path if you are using <b>Flatpak Steam</b>."