Prevent crash dialog from popping up when the game restarts
Fixes #6887
This commit is contained in:
2
Makefile
2
Makefile
@@ -358,7 +358,7 @@ install-linux-scripts:
|
||||
@echo "#!/bin/sh" > openra
|
||||
@echo 'cd "$(gameinstalldir)"' >> openra
|
||||
@echo 'mono OpenRA.Game.exe "$$@"' >> openra
|
||||
@echo 'if [ $$? != 0 ]' >> openra
|
||||
@echo 'if [ $$? != 0 && $$? != 1 ]' >> openra
|
||||
@echo 'then' >> openra
|
||||
@echo 'ZENITY=`which zenity` || echo "OpenRA needs zenity installed to display a graphical error dialog. See ~/.openra. for log files."' >> openra
|
||||
@echo '$$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' >> openra
|
||||
|
||||
Reference in New Issue
Block a user