From 263bfe814467adf29183e72fb7ded9981495ed25 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20=27Necoro=27=20Neumann?= Date: Mon, 14 Jun 2010 22:02:23 +0200 Subject: Finished --- play.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'play.sh') diff --git a/play.sh b/play.sh index 3aa5531..054b42b 100755 --- a/play.sh +++ b/play.sh @@ -20,7 +20,7 @@ exc () { if [[ -n $fork ]]; then exec $@ &! else - exec $@ + eval $@ fi } @@ -42,6 +42,7 @@ if [[ $1 == "-x" ]]; then exp DISPLAY ":1" exc wine start $gpath $args + exc wineserver -w else local game=$1 @@ -59,7 +60,8 @@ else } typeset -A games - games[steam]="steam" + games[bg2]='gpath=c:/spiele/bg2/baldur.exe; size=1024x768' + games[steam]='steam' if [[ -z $games[$game] ]]; then echo "*** Game '$game' not found" -- cgit v1.2.3