Use wine from PlayOnLinux because it's already nice and prepackaged.

This commit is contained in:
Storm Dragon 2022-01-31 04:58:33 -05:00
parent 2ce7432cad
commit 0a45de0aa5

View File

@ -2,14 +2,16 @@
# URL from where wine is downloaded, must be i686
wineURL="https://stormux.org/downloads/wine.tgz"
wineURL="https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-x86/PlayOnLinux-wine-6.11-upstream-linux-x86.tar.gz"
# Install required packages
install_package cabextract box86 dos2unix p7zip unzip xdotool
# Download and install wine
wineFile="$(mktemp)"
wget -O "$wineFile" "$wineURL"
pushd /opt
# Create wine directory
sudo mkdir -p /opt/wine
pushd /opt/wine
sudo tar xf "$wineFile"
popd