Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## How to make wine work properly again (and make winetricks's URLs for 32 bit apps work fine again)
- ## ~trevorj 110611
- cat <<EOF | sudo tee /usr/local/bin/wine32
- #!/bin/bash -e
- export WINEPREFIX="$HOME/.wine/wine32"
- export WINEARCH=win32
- self="${0##*/}"
- self="${self%32}"
- exec "$self" "$@"
- EOF
- sudo ln -s wine32 /usr/local/bin/winetricks32
- ## Then, use wine32 to run apps in 32 bit mode, or winetricks32 to run winetricks in 32 bit mode.
- ## Wine's prefix will be set to a seperate path "~/.wine/wine32" for 32 bit apps.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement