From 0a5b3d91869a9f83897a8853236e17df90cb1047 Mon Sep 17 00:00:00 2001 From: aclist Date: Mon, 2 Jan 2023 10:24:14 +0900 Subject: [PATCH] fix(browser): Tick low pop servers by default --- changelog.md | 4 ++++ dzgui.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/changelog.md b/changelog.md index 8c4cfff..9dbb891 100644 --- a/changelog.md +++ b/changelog.md @@ -6,6 +6,10 @@ - Standardize dialogs - Validate BM API key +## [3.1.6] 2023-01-01 +### Changed +- Tick low pop servers by default + ## [3.1.5] 2023-01-01 ### Fixed - Validate BM key on initial setup diff --git a/dzgui.sh b/dzgui.sh index ecab0ee..a2850ef 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/bin/bash set -o pipefail -version=3.1.5 +version=3.1.6 aid=221100 game="dayz" @@ -1251,7 +1251,7 @@ choose_filters(){ if [[ $is_steam_deck -eq 0 ]]; then sd_res="--width=1920 --height=1080" fi - sels=$($steamsafe_zenity --title="DZGUI" --text="Server search" --list --checklist --column "Check" --column "Option" --hide-header TRUE "All maps (untick to select from map list)" TRUE "Daytime" TRUE "Nighttime" False "Empty" False "Full" False "Low population" FALSE "Non-ASCII titles" FALSE "Keyword search" $sd_res 2>/dev/null) + sels=$($steamsafe_zenity --title="DZGUI" --text="Server search" --list --checklist --column "Check" --column "Option" --hide-header TRUE "All maps (untick to select from map list)" TRUE "Daytime" TRUE "Nighttime" False "Empty" False "Full" TRUE "Low population" FALSE "Non-ASCII titles" FALSE "Keyword search" $sd_res 2>/dev/null) if [[ $sels =~ Keyword ]]; then search=$($steamsafe_zenity --entry --text="Search (case insensitive)" --width=500 --title="DZGUI" 2>/dev/null | awk '{print tolower($0)}') [[ -z $search ]] && { ret=97; return; }