From bcda934f14ff554e1e19137a9be0f13ac900bdf7 Mon Sep 17 00:00:00 2001 From: aclist <92275929+aclist@users.noreply.github.com> Date: Mon, 13 Jun 2022 10:16:03 +0900 Subject: [PATCH] Add confirmation dialog before run --- dzgui.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dzgui.sh b/dzgui.sh index b6c95ec..8e69f71 100644 --- a/dzgui.sh +++ b/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