Hopefully insure people using the GUI mode with audiogame-manager do not get stuck because some messages were only appearing in the terminal which may not be present at all in the GUI.
This commit is contained in:
@@ -2,8 +2,17 @@
|
||||
|
||||
export DISPLAY="${DISPLAY:-:0}"
|
||||
|
||||
read -rp "Select create account from the menu, press enter to continue." continue
|
||||
echo
|
||||
# Source dialog interface for cross-platform compatibility
|
||||
source "${0%/*}/../.includes/dialog-interface.sh"
|
||||
|
||||
# Detect dialog interface type
|
||||
if [[ -z "$DISPLAY" ]]; then
|
||||
dialogType="dialog"
|
||||
else
|
||||
dialogType="yad"
|
||||
fi
|
||||
|
||||
agm_msgbox "Mist World Account Creator" "" "Select create account from the menu, then press OK to continue."
|
||||
|
||||
# Read email address
|
||||
echo "Enter email address:"
|
||||
|
Reference in New Issue
Block a user