mirror of
https://github.com/aclist/dztui.git
synced 2025-04-10 06:13:02 +02:00
Add confirmation dialog before run
This commit is contained in:
parent
748ce0a05f
commit
bcda934f14
1 changed files with 2 additions and 0 deletions
2
dzgui.sh
2
dzgui.sh
|
@ -241,6 +241,8 @@ launch(){
|
|||
zenity --warning --title="DZGUI" \
|
||||
--text="$(printf "[DEBUG] This is a dry run. These options would have been used to launch the game:\n\nsteam -applaunch $aid -connect=$ip -nolauncher -nosplash -skipintro \"-mod=$mods\"\n")" 2>/dev/null
|
||||
else
|
||||
echo "[DZGUI] All OK. Launching DayZ"
|
||||
zenity --title="DZGUI" --info --text="Launch conditions satisfied.\nDayZ will launch after clicking [OK]." 2>/dev/null
|
||||
steam -applaunch $aid -connect=$ip -nolauncher -nosplash -skipintro -name=$name \"-mod=$mods\"
|
||||
exit
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue