aboutsummaryrefslogtreecommitdiff
path: root/dists/maemo/scummvm.wrapper
blob: 56329def2165105ebb424f000458e24ebad23588 (plain)
1
2
3
4
5
6
7
#!/bin/sh
# wrapper for proper WM_CLASS name in SDL apps (needed for icon in taskbar)
#BASEDIR=`dirname $0`
BASENAME=`basename $0`
export SDL_VIDEO_X11_WMCLASS=${BASENAME}
export SCUMMVM_MAEMO_DEVICE=$(awk '/^product/ { print $2;}' /proc/component_version)
exec ${0}.bin "$@"