Bug#733556: [pkg-wine-party] Bug#733556: wine-auto

2014-10-07 Thread Austin English
On Oct 7, 2014 6:24 AM, "Marius Mikucionis" wrote: > > 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=$HOM

Bug#733556: wine-auto

2014-10-07 Thread Marius Mikucionis
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 ~/.