From 5d81a1a87e8ca0bdac3c5601109f02dc60f562d6 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Fri, 19 Apr 2024 07:22:41 +0900 Subject: [PATCH] feat: add icon --- CHANGELOG.md | 7 +++++++ dzgui.sh | 9 +++++---- helpers/funcs | 2 +- helpers/ui.py | 2 +- 4 files changed, 14 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0fa2a14..ea87f05 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Changelog +## [5.2.2] 2024-04-18 +### Added +- Cover artwork/icons for Steam "Recent Games" and tree view + +### Changed +- Updated documentation to the v5.0.0 spec + ## [5.2.1] 2024-04-01 ### Fixed - Fixed a regression where where the first-time setup dialog would not trigger auto-path discovery diff --git a/dzgui.sh b/dzgui.sh index b75a2c9..f9a0a6b 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=5.2.1 +version=5.2.2 #CONSTANTS aid=221100 @@ -269,7 +269,7 @@ freedesktop_dirs(){ local img_url="$stable_url/images" curl -s "$version_url" > "$script_path" chmod +x "$script_path" - for i in dzgui grid.png hero.png logo.png; do + for i in dzgui grid.png hero.png logo.png icon.png; do curl -s "$img_url/$i" > "$share_path/$i" done write_desktop_file > "$freedesktop_path/$app_name.desktop" @@ -537,10 +537,10 @@ fetch_helpers_by_sum(){ source "$config_file" declare -A sums sums=( - ["ui.py"]="9bfa6de9a648c7c8aa24bdec66a38eae" + ["ui.py"]="7b9dc3cd70c9d388536c03d18d3ba0b5" ["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" - ["funcs"]="48ed212978d20bc24a1adda38389e1b1" + ["funcs"]="35db0238f3bb8691107aefd2aee51d0f" ) local author="aclist" local repo="dztui" @@ -601,6 +601,7 @@ fetch_helpers(){ fetch_dzq fetch_geo_file fetch_helpers_by_sum + [[ ! -f $share_path/icon.png ]] && freedesktop_dirs } raise_error_and_quit(){ local msg="$1" diff --git a/helpers/funcs b/helpers/funcs index e1e8b6d..0034dda 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -o pipefail -version=5.2.1 +version=5.2.2 #CONSTANTS aid=221100 diff --git a/helpers/ui.py b/helpers/ui.py index 6641277..c712238 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -18,7 +18,7 @@ locale.setlocale(locale.LC_ALL, '') gi.require_version("Gtk", "3.0") from gi.repository import Gtk, GLib, Gdk, GObject, Pango -# 5.2.1 +# 5.2.2 app_name = "DZGUI" start_time = 0