<p dir="ltr">On Oct 7, 2014 6:24 AM, "Marius Mikucionis" <<a href="mailto:mmikucionis@gmail.com">mmikucionis@gmail.com</a>> wrote:<br>
><br>
> long story short, I use the following as /usr/bin/wine-auto:<br>
><br>
> #!/usr/bin/env bash<br>
> x64=`file $1 | grep "x86-64" | wc -l`<br>
> if [ $x64 == 0 ]; then<br>
>    export WINEPREFIX=$HOME/.wine32<br>
>    exec wine32 "$@"<br>
> else<br>
>    export WINEPREFIX=$HOME/.wine64<br>
>    exec wine64 "$@"<br>
> fi<br>
><br>
><br>
> it assumes that 64bit wine is in ~/.wine64 and 32bit wine is in ~/.wine32<br>
><br>
> -- <br>
> Marius<br>
><br>
> _______________________________________________<br>
> pkg-wine-party mailing list<br>
> <a href="mailto:pkg-wine-party@lists.alioth.debian.org">pkg-wine-party@lists.alioth.debian.org</a><br>
> <a href="http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-wine-party">http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-wine-party</a></p>
<p dir="ltr">I don't see how this is a bug, more like a hacky script (setting WINEARCH shouldn't be needed, and WINEPREFIX should be respected).</p>