diff --git a/changelog.md b/changelog.md index 2769bce..aebbccd 100644 --- a/changelog.md +++ b/changelog.md @@ -6,6 +6,10 @@ - Custom query API - Store favorites by IP +## [3.2.8] 2023-05-10 +### Fixed +- Allow user to retry with filepicker if auto path discovery resulted in false positive + ## [3.2.7] 2023-05-10 ### Changed - Better sudo escalation within zenity dialogs if vm map count is too small diff --git a/dzgui.sh b/dzgui.sh index 67b53b1..ef244ec 100755 --- a/dzgui.sh +++ b/dzgui.sh @@ -1,7 +1,7 @@ #!/bin/bash set -o pipefail -version=3.2.7 +version=3.2.8 aid=221100 game="dayz" @@ -272,7 +272,11 @@ create_config(){ find_library_folder if [[ -z $steam_path ]]; then zenity --question --text="DayZ not found or not installed at the chosen path." --ok-label="Retry" --cancel-label="Exit" - [[ $? -eq 1 ]] && exit + if [[ $? -eq 0 ]]; then + file_picker + else + exit + fi else mkdir -p $config_path write_config > $config_file