From e5948ead0283e239f43d1274ab6dfd2cb20a2a3b Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Mon, 1 Apr 2024 17:08:45 +0900 Subject: [PATCH] fix: auto discovery --- CHANGELOG.md | 7 +++++++ dzgui.sh | 6 +++--- helpers/ui.py | 2 +- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bfc35b..d55d032 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [5.2.1] 2024-04-01 +### Fixed +- Fixed a regression where where the first-time setup dialog would not trigger auto-path discovery + +### Changed +- Reworded some menus and dialogs for clarity + ## [5.2.0] 2024-03-21 ### Added - Refresh player count for active row: invoke via right-click context meu or directly with the Ctrl-r hotkey. This feature has a 30 second global cooldown to prevent throttling. diff --git a/dzgui.sh b/dzgui.sh index 4acadaf..8717a78 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -130,7 +130,7 @@ test_gobject(){ python3 -c "import gi" if [[ ! $? -eq 0 ]]; then logger CRITICAL "Missing PyGObject" - fdialog "Requires PyGObject (python3-gobject)" + fdialog "Requires PyGObject (python-gobject)" exit 1 fi logger INFO "Found PyGObject in Python env" @@ -537,7 +537,7 @@ fetch_helpers_by_sum(){ source "$config_file" declare -A sums sums=( - ["ui.py"]="d2e78f73933ac945d745a3d822ca89e7" + ["ui.py"]="f98211b1e0a2edc8d2853622d2672ef5" ["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["funcs"]="3701877b85bc853be3f89d59fe1a6bbe" @@ -664,7 +664,7 @@ find_default_path(){ $sd_res case "$res" in - *auto*) discover ;; + *auto*) _discover ;; *manual*) zenity --info --text="\nSelect the top-level entry point to the location where Steam (not DayZ)\nis installed and before entering the \"steamapps\" path.\n\nE.g., if Steam is installed at:\n\"/media/mydrive/Steam\"\n\nCorrect:\n- \"/media/mydrive/Steam\"\n\nIncorrect:\n- \"/media/mydrive/Steam/steamapps/common/DayZ\"\n- \"/media/mydrive/\"" --width=500 && file_picker ;; diff --git a/helpers/ui.py b/helpers/ui.py index cf31a17..d1c8a24 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -137,7 +137,7 @@ side_buttons = [ ] status_tooltip = { "Server browser": "Used to browse the global server list", - "My saved servers": "Browse your saved servers", + "My saved servers": "Browse your saved servers. Unreachable/offline servers will be excluded", "Quick-connect to favorite server": "Connect to your favorite server", "Recent servers": "Shows the last 10 servers you connected to (includes attempts)", "Connect by IP": "Connect to a server by IP",