Adjust zenity crash dialog.
This removes the "View FAQ" button, which does not work in the AppImage enivronment. It also replaces the inconsistent question mark icon with a more appropriate stop symbol, and makes the wording consistent across the zenity, terminal, and native macOS dialogs.
This commit is contained in:
@@ -28,9 +28,9 @@ if [ $? != 0 ] && [ $? != 1 ]
|
||||
then
|
||||
if which zenity > /dev/null
|
||||
then
|
||||
zenity --question --title "OpenRA" --text "OpenRA has encountered a fatal error.\nLog Files are available in ~/.openra." --ok-label "Quit" --cancel-label "View FAQ" || xdg-open https://github.com/OpenRA/OpenRA/wiki/FAQ
|
||||
zenity --no-wrap --error --title "OpenRA" --text "OpenRA has encountered a fatal error.\nPlease refer to the crash logs and FAQ for more information.\n\nLog files are located in ~/.openra/Logs\nThe FAQ is available at http://wiki.openra.net/FAQ"
|
||||
else
|
||||
printf "OpenRA has encountered a fatal error.\n -> Log Files are available in ~/.openra\n -> FAQ is available at https://github.com/OpenRA/OpenRA/wiki/FAQ\n"
|
||||
printf "OpenRA has encountered a fatal error.\nPlease refer to the crash logs and FAQ for more information.\n\nLog files are located in ~/.openra/Logs\nThe FAQ is available at http://wiki.openra.net/FAQ\n"
|
||||
fi
|
||||
exit 1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user