2
# wrapper for proper WM_CLASS name in SDL apps (needed for icon in taskbar)
5
export SDL_VIDEO_X11_WMCLASS=${BASENAME}
6
export SCUMMVM_MAEMO_DEVICE=$(awk '/^product/ { print $2;}' /proc/component_version)
7
# no exec, we are really not a d-bus service
8
# we need to run scummvm with diferent pid so hildon-desktop will kill the wrapper, not scummvm
9
[ -x ${0}.bin ] && ${0}.bin "$@"
11
[ -x /opt/scummvm/bin/scummvm ] && /opt/scummvm/bin/scummvm "$@"