diff --git a/dzgui.sh b/dzgui.sh index 1029472..bb028ba 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=5.0.0.rc-2 +version=5.0.0.rc-3 #CONSTANTS aid=221100 @@ -316,8 +316,10 @@ check_version(){ } download_new_version(){ local version_url="$(format_version_url)" + logger INFO "Version URL is '$version_url'" + logger INFO "$src_path" mv "$src_path" "$src_path.old" - curl -Ls "$version_url" > "$src_path" + curl -L "$version_url" > "$src_path" 2>$debug_log rc=$? if [[ $rc -eq 0 ]]; then dl_changelog diff --git a/helpers/ui.py b/helpers/ui.py index 6f9ff8a..26c9002 100644 --- a/helpers/ui.py +++ b/helpers/ui.py @@ -516,7 +516,10 @@ class ButtonBox(Gtk.Box): self.buttons = list() for side_button in side_buttons: button = Gtk.Button(label=side_button) - button.set_size_request(50, 50) + if is_steam_deck is True: + button.set_size_request(10, 10) + else + button.set_size_request(50,50) button.set_opacity(0.6) self.buttons.append(button) button.connect("clicked", self._on_selection_button_clicked) @@ -1483,10 +1486,8 @@ class App(Gtk.Application): self.win = OuterWindow() - # TODO: steam deck - # self.win.set_size_request(1280,800) - #self.win.fullscreen() - self.win.set_keep_below(True) + self.win.fullscreen() + #self.win.set_keep_below(True) accel = Gtk.AccelGroup() accel.connect(Gdk.KEY_q, Gdk.ModifierType.CONTROL_MASK, Gtk.AccelFlags.VISIBLE, self._halt_window_subprocess)