mirror of
https://github.com/aclist/dztui.git
synced 2026-11-18 15:52:10 +01:00
change: disambiguate custom XDG_DATA_HOME
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run
Mirror to Codeberg / mirror-to-codeberg (push) Waiting to run
This commit is contained in:
1 parent
45c412e1ad
commit
29223a8a1f
2 files changed
+4
-1
No files matched your search
+3
-1
@@ -70,8 +70,10 @@ def get_steam_paths() -> list[tuple[Path, str]]:
|
|||||||
if env is not None:
|
if env is not None:
|
||||||
XDG_DATA_HOME = Path(env)
|
XDG_DATA_HOME = Path(env)
|
||||||
DEFAULT_PATH = XDG_DATA_HOME.joinpath("Steam")
|
DEFAULT_PATH = XDG_DATA_HOME.joinpath("Steam")
|
||||||
|
default_label = wizard.desc_custom_path
|
||||||
else:
|
else:
|
||||||
DEFAULT_PATH = HOME.joinpath(DEFAULT_STEAM_PATH)
|
DEFAULT_PATH = HOME.joinpath(DEFAULT_STEAM_PATH)
|
||||||
|
default_label = wizard.desc_default_path
|
||||||
|
|
||||||
FLATPAK_PATH = HOME.joinpath(FLATPAK_STEAM_PATH)
|
FLATPAK_PATH = HOME.joinpath(FLATPAK_STEAM_PATH)
|
||||||
UBUNTU_PATH = HOME.joinpath(UBUNTU_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)
|
SNAP_PATH = HOME.joinpath(SNAP_STEAM_PATH)
|
||||||
|
|
||||||
human = {
|
human = {
|
||||||
DEFAULT_PATH: wizard.desc_default_path,
|
DEFAULT_PATH: default_label,
|
||||||
FLATPAK_PATH: wizard.desc_flatpak_path,
|
FLATPAK_PATH: wizard.desc_flatpak_path,
|
||||||
UBUNTU_PATH: wizard.desc_ubuntu_path,
|
UBUNTU_PATH: wizard.desc_ubuntu_path,
|
||||||
SNAP_PATH: wizard.desc_snap_path,
|
SNAP_PATH: wizard.desc_snap_path,
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ blurb_steam_path = """
|
|||||||
DZGUI needs to find the location to your default Steam installation.
|
DZGUI needs to find the location to your default Steam installation.
|
||||||
This will be used to determine whether (and where) DayZ is installed.
|
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_default_path = "This is the default Steam path on <b>most distributions</b>."
|
||||||
desc_flatpak_path = (
|
desc_flatpak_path = (
|
||||||
"This is the default Steam path if you are using <b>Flatpak Steam</b>."
|
"This is the default Steam path if you are using <b>Flatpak Steam</b>."
|
||||||
|
|||||||
Reference in new issue
Block a user