This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bash # For syntax highlighting. This is not a script... | |
########################################################### | |
# Part I -- Setting up the 64-bit and 32-bit environments # | |
# Start this section as: root@Host # | |
########################################################### | |
# This is where we want wine-starcraft to live | |
INSTALLPREFIX=/opt/wine-starcraft | |
echo "$INSTALLPREFIX" > /tmp/INSTALLPREFIX.txt # recklessly presume this file doesn't already exist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!bash # For syntax highlighting. This is not a script... | |
######################################### | |
# Part I -- Installing wine-starcraft # | |
######################################### | |
sudo su - # become root | |
apt install winbind |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#--- Build tun2socks and udpgw (as the user who will use the proxy) --- | |
mkdir -p $HOME/src | |
cd $HOME/src | |
git clone "https://github.com/ambrop72/badvpn" | |
cd badvpn | |
mkdir -p build | |
cd build | |
export OUTDIR=$PWD | |
export SRCDIR=$(dirname $PWD) |