From e6d62c94fa2b9ebf3dc5d06ef770030f99dbdece Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Wed, 31 Jan 2024 18:07:47 +0900 Subject: [PATCH] chore: drop check news --- dzgui.sh | 18 +++--------------- helpers/funcs | 2 +- helpers/ui.py | 2 +- 3 files changed, 5 insertions(+), 17 deletions(-) diff --git a/dzgui.sh b/dzgui.sh index 26b6dcd..6e59616 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=5.0.0.rc-46 +version=5.0.0.rc-47 #CONSTANTS aid=221100 @@ -474,18 +474,6 @@ stale_symlinks(){ unlink $l done } -check_news(){ - [[ $branch == "stable" ]] && news_url="$stable_url/news" - [[ $branch == "testing" ]] && news_url="$testing_url/news" - local result=$(curl -Ls "$news_url") - local sum=$(<<< "$result" md5sum | awk '{print $1}') - if [[ $sum != "$seen_news" ]]; then - logger WARN "Local news checksum '$seen_news' != '$sum'" - seen_news="$sum" - update_config - echo "$result" - fi -} local_latlon(){ if [[ -z $(command -v dig) ]]; then local local_ip=$(curl -Ls "https://ipecho.net/plain") @@ -548,10 +536,10 @@ fetch_dzq(){ fetch_helpers_by_sum(){ declare -A sums sums=( - ["ui.py"]="a96a6180ac7ddccf4d37ec3dbdbe9c90" + ["ui.py"]="aae6bd048bc4786a914c3ed45bef82da" ["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" - ["funcs"]="7b4a5388ece7f723d2d3bbc08bbc3187" + ["funcs"]="6f853f3f0fa838ce731f203dddb22702" ) local author="aclist" local repo="dztui" diff --git a/helpers/funcs b/helpers/funcs index 844d5ca..5193f8e 100755 --- a/helpers/funcs +++ b/helpers/funcs @@ -1,6 +1,6 @@ #!/usr/bin/env bash set -o pipefail -version=5.0.0.rc-46 +version=5.0.0.rc-47 #CONSTANTS aid=221100 diff --git a/helpers/ui.py b/helpers/ui.py index 1e74f48..e4aa96e 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -16,7 +16,7 @@ locale.setlocale(locale.LC_ALL, '') gi.require_version("Gtk", "3.0") from gi.repository import Gtk, GLib, Gdk, GObject, Pango -# 5.0.0-rc.46 +# 5.0.0-rc.47 app_name = "DZGUI" cache = {}