|
|
|
@ -22,10 +22,14 @@ function get_interpreter() { |
|
|
|
fi |
|
|
|
echo -n "/usr/bin/dosbox -exit -conf ${CONFIG}" |
|
|
|
;; |
|
|
|
*Windows\ shortcut*) echo -n "/usr/bin/wine start";; |
|
|
|
*Windows*) echo -n "/usr/bin/wine";; |
|
|
|
esac |
|
|
|
} |
|
|
|
|
|
|
|
exec $(get_interpreter "$1") "$@" |
|
|
|
EXE="$1"; shift |
|
|
|
WINEXE="${EXE/${WINEPREFIX}/C:}" |
|
|
|
WINEXE="${WINEXE//\//\\}" |
|
|
|
exec $(get_interpreter "${EXE}") "${WINEXE}" "$@" |
|
|
|
|
|
|
|
# vim: ft=sh ts=4 sw=4: |