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:
Storm Dragon
2025-08-05 01:40:27 -04:00
parent 25c9aeaa5a
commit d49ca8a86b
3 changed files with 29 additions and 21 deletions

View File

@@ -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:"