1
0
Fork 0
mirror of https://github.com/aclist/dztui.git synced 2025-04-05 12:03:00 +02:00

fix: else statement

This commit is contained in:
aclist 2024-01-13 10:53:12 +09:00
parent de3dec41a3
commit 2dac511608
3 changed files with 6 additions and 6 deletions

View file

@ -1,7 +1,7 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=5.0.0.rc-13 version=5.0.0.rc-14
#CONSTANTS #CONSTANTS
aid=221100 aid=221100
@ -527,7 +527,7 @@ fetch_dzq(){
fetch_helpers_by_sum(){ fetch_helpers_by_sum(){
declare -A sums declare -A sums
sums=( sums=(
["ui.py"]="b3e8dca80ed61c1da896ac37bec70ca8" ["ui.py"]="af590bd7ac031409beb8fbc669398721"
["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197" ["query_v2.py"]="1822bd1769ce7d7cb0d686a60f9fa197"
["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397" ["vdf2json.py"]="2f49f6f5d3af919bebaab2e9c220f397"
["funcs"]="d9b0e6fa68314c18ac7aad565645948f" ["funcs"]="d9b0e6fa68314c18ac7aad565645948f"

View file

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o pipefail set -o pipefail
version=5.0.0.rc-13 version=5.0.0.rc-14
#CONSTANTS #CONSTANTS
aid=221100 aid=221100

View file

@ -15,7 +15,7 @@ locale.setlocale(locale.LC_ALL, '')
gi.require_version("Gtk", "3.0") gi.require_version("Gtk", "3.0")
from gi.repository import Gtk, GLib, Gdk, GObject, Pango from gi.repository import Gtk, GLib, Gdk, GObject, Pango
# 5.0.0-rc.13 # 5.0.0-rc.14
app_name = "DZGUI" app_name = "DZGUI"
cache = {} cache = {}
@ -451,11 +451,11 @@ class OuterWindow(Gtk.Window):
self.add(self.grid) self.add(self.grid)
self.hb = AppHeaderBar() self.hb = AppHeaderBar()
if is_steam_deck is not 1:
self.set_titlebar(self.hb)
if is_steam_deck is 1: if is_steam_deck is 1:
self.maximize() self.maximize()
self.set_decorated(False) self.set_decorated(False)
else:
self.set_titlebar(self.hb)
# Hide FilterPanel on main menu # Hide FilterPanel on main menu
self.show_all() self.show_all()