From 81f269b71bc05c3b1143478f3ac3e500d2827066 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 28 Aug 2024 07:29:02 +0900 Subject: [PATCH 1/7] chore: normalize changelog --- CHANGELOG.md | 24 +++++------------------- 1 file changed, 5 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7831b8..24f79cf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,29 +1,15 @@ # Changelog -## [5.3.3-beta.5] 2024-08-27 +## [5.3.3] 2024-08-27 ### Added +- Scan local area network for DayZ servers - Freedesktop application icons for system taskbar, tray, and other dialogs -### Fixed -- Errors being printed to the console when Exit button was explicitly clicked - -## [5.3.3-beta.4] 2024-08-21 -### Added - Emit CPU model name when exporting system debug log ### Fixed - Detect Steam Deck OLED APU variant during initial setup - -## [5.3.3-beta.3] 2024-08-04 -### Added -- Scan local area network for DayZ servers - -## [5.3.3-beta.2] 2024-08-03 -### Fixed -- Clerical hotfix for previous player names fix -- Test if DayZ directory is empty at startup, implying that the game was moved to a new library collection - -## [5.3.3-beta.1] 2024-07-16 -### Fixed -- Encapsulate player names correctly so that names with whitespace in them are supported +- Errors being printed to the console when Exit button was explicitly clicked +- Test if DayZ library location was moved internally on Steam by user +- Encapsulate player names correctly to support whitespace ## [5.3.2] 2024-07-02 ### Fixed From 049fb47019a634c24930fd3257f1d845e8fb0553 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 28 Aug 2024 07:30:38 +0900 Subject: [PATCH 2/7] chore: normalize version --- dzgui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzgui.sh b/dzgui.sh index 3e764be..fc63a82 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=5.3.3-beta.5 +version=5.3.3 #CONSTANTS aid=221100 From 5fda598173ba3f8b7c025308686eedce9e23d93f Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 28 Aug 2024 07:31:14 +0900 Subject: [PATCH 3/7] chore: update url --- dzgui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzgui.sh b/dzgui.sh index fc63a82..f5a23a6 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -545,7 +545,7 @@ fetch_icons(){ "128" "256" ) - url="$testing_url/images/icons" + url="$stable_url/images/icons" for i in "${res[@]}"; do size="${i}x${i}" dir="$HOME/.local/share/icons/hicolor/$size/apps" From 5686ea76c2d208bf37c18e47d9313604bbdd17f0 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 28 Aug 2024 08:09:32 +0900 Subject: [PATCH 4/7] fix: boolean operator --- dzgui.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dzgui.sh b/dzgui.sh index f5a23a6..1894708 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -380,7 +380,7 @@ test_display_mode(){ check_architecture(){ local cpu=$(< /proc/cpuinfo awk -F": " '/AMD Custom APU [0-9]{4}$/ {print $2; exit}') read -a APU_MODEL <<< "$cpu" - if [[ ${APU_MODEL[3]} != "0932" ]] || [[ ${APU_MODEL[3]} != "0405" ]]; then + if [[ ${APU_MODEL[3]} != "0932" ]] && [[ ${APU_MODEL[3]} != "0405" ]]; then is_steam_deck=0 logger INFO "Setting architecture to 'desktop'" return From 0de89a3ef1139ff93a46778925a2fcbf69debb16 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 28 Aug 2024 08:44:13 +0900 Subject: [PATCH 5/7] add: set WM_CLASS name --- dzgui.sh | 2 +- helpers/ui.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/dzgui.sh b/dzgui.sh index 1894708..5625570 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -562,7 +562,7 @@ fetch_helpers_by_sum(){ [[ -f "$config_file" ]] && source "$config_file" declare -A sums sums=( - ["ui.py"]="f89047e3fde843dbb52d343daf8d2675" + ["ui.py"]="13bb5456aa9d95efdf2335e437f4c6fb" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["funcs"]="44eca80b207057423c2d298cc7cf1e29" diff --git a/helpers/ui.py b/helpers/ui.py index a15fc50..f4ca328 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -1812,6 +1812,7 @@ class App(Gtk.Application): is_steam_deck = False is_game_mode = False + GLib.set_prgname(app_name) self.win = OuterWindow(is_steam_deck, is_game_mode) self.win.set_icon_name("dzgui") From d01add35731104ef66d9b47f092339d86a349210 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Thu, 29 Aug 2024 22:11:49 +0900 Subject: [PATCH 6/7] docs: update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24f79cf..8f3a913 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ - Errors being printed to the console when Exit button was explicitly clicked - Test if DayZ library location was moved internally on Steam by user - Encapsulate player names correctly to support whitespace +- Report WM_CLASS name to the window manager ## [5.3.2] 2024-07-02 ### Fixed From 659cbb83a3903b3c8101acb1b47518c302513e14 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Sun, 1 Sep 2024 13:19:16 +0900 Subject: [PATCH 7/7] chore: normalize version --- dzgui.sh | 6 +++--- helpers/funcs | 2 +- helpers/ui.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/dzgui.sh b/dzgui.sh index 5625570..6cc655a 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=5.3.3 +version=5.3.0 #CONSTANTS aid=221100 @@ -562,10 +562,10 @@ fetch_helpers_by_sum(){ [[ -f "$config_file" ]] && source "$config_file" declare -A sums sums=( - ["ui.py"]="13bb5456aa9d95efdf2335e437f4c6fb" + ["ui.py"]="819a30c43644817a4f4a009f3df52b77" ["query_v2.py"]="55d339ba02512ac69de288eb3be41067" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" - ["funcs"]="44eca80b207057423c2d298cc7cf1e29" + ["funcs"]="e1998f02f17776ccf2108fe5e9396d75" ["lan"]="c62e84ddd1457b71a85ad21da662b9af" ) local author="aclist" diff --git a/helpers/funcs b/helpers/funcs index 7d19b29..13c693a 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -o pipefail -version=5.3.3 +version=5.3.0 #CONSTANTS aid=221100 diff --git a/helpers/ui.py b/helpers/ui.py index f4ca328..298f3b2 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -19,7 +19,7 @@ gi.require_version("Gtk", "3.0") from gi.repository import Gtk, GLib, Gdk, GObject, Pango from enum import Enum -# 5.3.3 +# 5.3.0 app_name = "DZGUI" start_time = 0