Wine script now removes extra params

master
lanxu 2019-05-18 13:05:44 +03:00
parent 5268935e9c
commit 3cc0c93418
1 changed files with 7 additions and 1 deletions

View File

@ -3,6 +3,7 @@
if [ $# -eq 0 ]
then
echo "No arguments supplied"
exit -1
fi
WINEDIR=$HOME/Pelit/Wine/$1/
@ -12,5 +13,10 @@ export WINEDEBUG=-all
export WINEPREFIX=$WINEDIR
echo "Run in $WINEDIR"
wine $2
#if [ $# -eq 1 ]
#then
# wine $2
#fi
shift 1;
exec $@