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
2f320db9aa
commit
3b485a8f88
2 changed files with 10 additions and 2 deletions
|
@ -6,6 +6,10 @@
|
||||||
- Custom query API
|
- Custom query API
|
||||||
- Store favorites by IP
|
- 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
|
## [3.2.7] 2023-05-10
|
||||||
### Changed
|
### Changed
|
||||||
- Better sudo escalation within zenity dialogs if vm map count is too small
|
- 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
|
#!/bin/bash
|
||||||
|
|
||||||
set -o pipefail
|
set -o pipefail
|
||||||
version=3.2.7
|
version=3.2.8
|
||||||
|
|
||||||
aid=221100
|
aid=221100
|
||||||
game="dayz"
|
game="dayz"
|
||||||
|
@ -272,7 +272,11 @@ create_config(){
|
||||||
find_library_folder
|
find_library_folder
|
||||||
if [[ -z $steam_path ]]; then
|
if [[ -z $steam_path ]]; then
|
||||||
zenity --question --text="DayZ not found or not installed at the chosen path." --ok-label="Retry" --cancel-label="Exit"
|
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
|
else
|
||||||
mkdir -p $config_path
|
mkdir -p $config_path
|
||||||
write_config > $config_file
|
write_config > $config_file
|
||||||
|
|
Loading…
Reference in a new issue