2016-07-16 23:04:22 +02:00
|
|
|
#!/bin/bash
|
2016-09-11 20:30:45 +02:00
|
|
|
if [[ $# -lt 1 ]]; then
|
|
|
|
echo "Starts the specified executable with wine."
|
|
|
|
echo "Usage: $0 executable [additional_dll_path(s)]"
|
|
|
|
exit -1
|
|
|
|
fi
|
2016-07-16 23:04:22 +02:00
|
|
|
for arg in "${@:2}"; do
|
|
|
|
WINEPATH="${arg};${WINEPATH}"
|
|
|
|
done
|
|
|
|
export WINEPATH;
|
2016-10-29 00:21:42 +02:00
|
|
|
wine "${@:1:1}"
|