mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-27 12:16:59 +00:00
03ba4a3318
svn-id: r48386
10 lines
383 B
Bash
10 lines
383 B
Bash
#!/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)
|
|
[ -x ${0}.bin ] && exec ${0}.bin "$@"
|
|
# optified binary
|
|
[ -x /opt/scummvm/bin/scummvm ] && exec /opt/scummvm/bin/scummvm "$@"
|