mirror of
https://github.com/aclist/dztui.git
synced 2026-10-25 12:12:31 +01:00
Add confirmation dialog before run
This commit is contained in:
1 parent
748ce0a05f
commit
bcda934f14
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user