mirror of
https://github.com/aclist/dztui.git
synced 2024-12-29 13:52:03 +01:00
fix: allow manual path discovery (#65)
This commit is contained in:
parent
ccee6b10f1
commit
fe4d80ad9b
2 changed files with 10 additions and 2 deletions
|
@ -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
|
||||
|
|
8
dzgui.sh
8
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
|
||||
|
|
Loading…
Reference in a new issue