From 22a7814ce4a8aaf2655b7132de46fe94892be6be Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Mon, 26 Oct 2026 16:13:42 +0900 Subject: [PATCH 1/3] fix: check actual client command --- dzgui/api/steam.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dzgui/api/steam.py b/dzgui/api/steam.py index 2580bd0..201030c 100644 --- a/dzgui/api/steam.py +++ b/dzgui/api/steam.py @@ -13,7 +13,7 @@ from warnings import deprecated from dzgui.api.acf import ACF from dzgui.init.prereqs import has_any_client -from dzgui.init.proc import has_cmd +from dzgui.init.prereqs import has_flatpak_client, has_steam_client from dzgui.const.constants import ( APPID_DAYZ, APPID_DAYZ_EXP, @@ -85,9 +85,9 @@ 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: + if path is FLATPAK_PATH and has_flatpak_client() is False: continue - if path is not FLATPAK_PATH and has_cmd(STEAM_CMD) is False: + if path is not FLATPAK_PATH and has_steam_client() is False: continue if path.joinpath(VDF_PATH).is_file(): paths.append((path, human[path])) From c1181435b3b08a2c68abe2c125afa40ac99cd068 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Mon, 26 Oct 2026 16:13:56 +0900 Subject: [PATCH 2/3] chore: formatting --- dzgui/app_init.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/dzgui/app_init.py b/dzgui/app_init.py index dbd01ea..45df2a7 100644 --- a/dzgui/app_init.py +++ b/dzgui/app_init.py @@ -7,7 +7,12 @@ from pathlib import Path from typing import TYPE_CHECKING -from dzgui.const.constants import APP_NAME, APP_NAME_LOWER, FLATPAK_ROOT_PATH, ICONS_PATH +from dzgui.const.constants import ( + APP_NAME, + APP_NAME_LOWER, + FLATPAK_ROOT_PATH, + ICONS_PATH, +) from dzgui.const.enum import Preferences from dzgui.config.query import lookup from dzgui.config.userprefs import UserPrefs @@ -103,7 +108,8 @@ def load_steam_icon() -> None: import gi gi.require_version("Gtk", "3.0") - from gi.repository import Gtk # noqa + from gi.repository import Gtk # noqa + try: traversable = resources.files(APP_NAME_LOWER).joinpath(ICONS_PATH) icons = Path(str(traversable)) From 7e2a58581294cb7ec096bca430416032325551b4 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Mon, 26 Oct 2026 16:14:57 +0900 Subject: [PATCH 3/3] chore: drop unused imports --- dzgui/api/steam.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/dzgui/api/steam.py b/dzgui/api/steam.py index 201030c..be691b4 100644 --- a/dzgui/api/steam.py +++ b/dzgui/api/steam.py @@ -23,11 +23,9 @@ from dzgui.const.constants import ( DEBIAN_STEAM_PATH, DEFAULT_STEAM_PATH, DOWNLOADS_PATH, - FLATPAK_CMD, FLATPAK_STEAM_PATH, LIBRARYFOLDERS_PATH, REQUEST_TIMEOUT, - STEAM_CMD, UBUNTU_STEAM_PATH, VDF_PATH, )