diff --git a/dzgui.sh b/dzgui.sh index d4f1e24..9ef5557 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash set -o pipefail -version=3.3.12 +version=3.3.13 aid=221100 game="dayz" @@ -1905,7 +1905,7 @@ initial_setup(){ } test_zenity_version(){ local current="$1" - local cutoff="3.91.0" + local cutoff="3.99.1" if [[ "$(printf '%s\n' "$cutoff" "$current" | sort -V | head -n1)" == "$cutoff" ]]; then logger INFO "zenity version greater than or equal to $cutoff" echo greater @@ -1919,14 +1919,7 @@ main(){ local zenv=$(zenity --version 2>/dev/null) [[ -z $zenv ]] && { logger "Missing zenity"; exit; } local res=$(test_zenity_version $zenv) - case $res in - "greater") - initial_setup - ;; - "lesser") - initial_setup > >($steamsafe_zenity --pulsate --progress --auto-close --title="DZGUI" --no-cancel --width=500 2>/dev/null) - ;; - esac + initial_setup > >($steamsafe_zenity --pulsate --progress --auto-close --title="DZGUI" --no-cancel --width=500 2>/dev/null) main_menu #TODO: tech debt: cruddy handling for steam forking [[ $? -eq 1 ]] && pkill -f dzgui.sh diff --git a/news b/news index 30305e3..04183c1 100644 --- a/news +++ b/news @@ -1 +1 @@ -NEWS: Due to layoffs at my employer, I am without a main source of income. If you have enjoyed DZGUI in the past, please consider donating to the project. Thank you. +NEWS: If you are using Fedora 38, please update to zenity-3.99.1-1 to use DZGUI.