From b00423dc76c6ee28d665059ee1cb4cdfa156a0dc Mon Sep 17 00:00:00 2001 From: abcdefg30 Date: Fri, 3 Jul 2020 00:09:02 +0200 Subject: [PATCH] Correct the crash dialog title --- launch-game.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/launch-game.sh b/launch-game.sh index d640cab1ab..b4ebda1cfd 100755 --- a/launch-game.sh +++ b/launch-game.sh @@ -37,9 +37,9 @@ if [ $? != 0 ] && [ $? != 1 ]; then test -d Support/Logs && LOGS="${PWD}/Support/Logs" ERROR_MESSAGE="OpenRA has encountered a fatal error.\nPlease refer to the crash logs and FAQ for more information.\n\nLog files are located in ${LOGS}\nThe FAQ is available at http://wiki.openra.net/FAQ" if command -v zenity > /dev/null; then - zenity --no-wrap --error --title "{MODNAME}" --text "${ERROR_MESSAGE}" 2> /dev/null + zenity --no-wrap --error --title "OpenRA" --text "${ERROR_MESSAGE}" 2> /dev/null elif command -v kdialog > /dev/null; then - kdialog --title "{MODNAME}" --error "${ERROR_MESSAGE}" + kdialog --title "OpenRA" --error "${ERROR_MESSAGE}" else printf "%s\n" "${ERROR_MESSAGE}" fi