Prevent crash dialog from popping up when the game restarts

Fixes #6887
This commit is contained in:
Oliver Brakmann
2014-11-04 21:29:16 +01:00
parent e6bf1cafd3
commit 64506b856a
5 changed files with 7 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ fi
cd "$RESOURCES" && FONTCONFIG_PATH="." $MONO_BIN --debug OpenRA.Game.exe Graphics.Renderer=Sdl2
# Display an error dialog on game crash
if [ $? != 0 ]
if [ $? != 0 && $? != 1 ]
then
osascript \
-e "set logsPath to ((path to application support folder from user domain) as text) & \"OpenRA:Logs:\"" \
@@ -58,4 +58,4 @@ then
-e " end repeat" \
-e "end tell"
exit 1
fi
fi