[pkg-wine-party] Bug#733556: wine-auto
Marius Mikucionis
mmikucionis at gmail.com
Tue Oct 7 11:21:36 UTC 2014
long story short, I use the following as /usr/bin/wine-auto:
#!/usr/bin/env bash
x64=`file $1 | grep "x86-64" | wc -l`
if [ $x64 == 0 ]; then
export WINEPREFIX=$HOME/.wine32
exec wine32 "$@"
else
export WINEPREFIX=$HOME/.wine64
exec wine64 "$@"
fi
it assumes that 64bit wine is in ~/.wine64 and 32bit wine is in ~/.wine32
--
Marius
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-wine-party/attachments/20141007/d48c23e1/attachment.html>
More information about the pkg-wine-party
mailing list