From cf2c77e7cab91a78ef14ef9240560be71ba1f431 Mon Sep 17 00:00:00 2001 From: Michael <30936296+mtan93@users.noreply.github.com> Date: Tue, 20 Sep 2022 19:05:16 +0100 Subject: [PATCH] Create launch-zt-join.sh --- Helpers/launch-zt-join.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Helpers/launch-zt-join.sh diff --git a/Helpers/launch-zt-join.sh b/Helpers/launch-zt-join.sh new file mode 100644 index 0000000..a44f841 --- /dev/null +++ b/Helpers/launch-zt-join.sh @@ -0,0 +1,12 @@ +#!/bin/sh +cd /Library/Application\ Support/Purple/ +if [ "$SHOWDIALOG" == "Y" ]; then + echo "Dialog will open" + ./zt-dialog.sh & + ./join-zt-network.sh + exit 0 +else + echo "Dialog will not open" + ./join-zt-network.sh + exit 0 +fi