Advertisement
Guest User

trevorj-wine32

a guest
Aug 26th, 2012
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.53 KB | None | 0 0
  1. ## How to make wine work properly again (and make winetricks's URLs for 32 bit apps work fine again)
  2. ## ~trevorj 110611
  3.  
  4. cat <<EOF | sudo tee /usr/local/bin/wine32
  5. #!/bin/bash -e
  6.  
  7. export WINEPREFIX="$HOME/.wine/wine32"
  8. export WINEARCH=win32
  9.  
  10. self="${0##*/}"
  11. self="${self%32}"
  12.  
  13. exec "$self" "$@"
  14. EOF
  15.  
  16. sudo ln -s wine32 /usr/local/bin/winetricks32
  17.  
  18. ## Then, use wine32 to run apps in 32 bit mode, or winetricks32 to run winetricks in 32 bit mode.
  19. ## 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