Prevent crash dialog from popping up when the game restarts
Fixes #6887
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user