condense into one graphical crash dialog
make it more robust against missing dependencies
This commit is contained in:
@@ -1,11 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
zenity --error --title "OpenRA" --text "OpenRA has encountered a fatal error."
|
||||
|
||||
zenity --question --title "OpenRA" --text="Would you like have a look at the crash log files?" || exit
|
||||
|
||||
xdg-open ~/.openra/Logs
|
||||
|
||||
zenity --question --title "OpenRA" --text="Would you like to read the FAQ?" || exit
|
||||
|
||||
xdg-open https://github.com/OpenRA/OpenRA/wiki/FAQ
|
||||
ZENITY=`which zenity` || echo "OpenRA needs zenity installed to display a graphical error dialog. See ~/.openra. for log files."
|
||||
$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
|
||||
Reference in New Issue
Block a user