(svn r27967) -Update from Eints:
[openttd.git] / os / debian / patches / run-openttd-wrapper.patch
blobff8fc15aefa98393b540199062c0c6910a7f3c0b
1 From: Matthijs Kooijman <matthijs@stdin.nl>
2 Subject: Use a wrapper script for running openttd
4 The wrapper script captures stderr from openttd and displays this in
5 case of an error. This patch makes the the .desktop file call the
6 wrapper instead of the openttd binary directly.
8 Index: media/openttd.desktop.in
9 ===================================================================
10 --- a/media/openttd.desktop.in (revision 20124)
11 +++ b/media/openttd.desktop.in (working copy)
12 @@ -5,7 +5,7 @@
13 Version=1.1
14 Name=!!MENU_NAME!!
15 Icon=openttd
16 -Exec=!!TTD!!
17 +Exec=/usr/share/games/openttd/openttd-wrapper
18 Terminal=false
19 Categories=!!MENU_GROUP!!
20 Comment=A clone of Transport Tycoon Deluxe