Updated the version of wine that gets installed to 7.7. Updated the simlink part of the script so it grabs all the executables.
This commit is contained in:
parent
fde8b464f6
commit
d34abd2f34
@ -2,7 +2,7 @@
|
||||
|
||||
|
||||
# URL from where wine is downloaded, must be i686
|
||||
wineURL="https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-x86/PlayOnLinux-wine-6.17-upstream-linux-x86.tar.gz"
|
||||
wineURL="https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-x86/PlayOnLinux-wine-7.7-upstream-linux-x86.tar.gz"
|
||||
|
||||
# Make sure system is up to date
|
||||
yay -Syu --noconfirm
|
||||
@ -15,17 +15,18 @@ curl --output "$wineFile" "$wineURL"
|
||||
# Create wine directory
|
||||
sudo mkdir -p /opt/wine
|
||||
pushd /opt/wine
|
||||
sudo tar xf "$wineFile"
|
||||
sudo tar vxf "$wineFile"
|
||||
popd
|
||||
|
||||
# Create files and links in /usr/local/bin
|
||||
sudo mkdir -p /usr/local/bin
|
||||
echo -e '#!/bin/bash\nsetarch linux32 -L /opt/wine/bin/wine "$@"' | sudo tee /usr/local/bin/wine > /dev/null
|
||||
sudo chmod 755 /usr/local/bin/wine
|
||||
for i in wineboot winecfg winepath wineserver ; do
|
||||
sudo ln -s /opt/wine/bin/"$i" /usr/local/bin/"$i"
|
||||
sudo chmod 755 /usr/local/bin/"$i"
|
||||
done
|
||||
find /opt/wine/bin/ -type f -perm -u+x -exec bash -c '
|
||||
for i ; do
|
||||
sudo ln -s "$i" /usr/local/bin/
|
||||
sudo chmod 755 /usr/local/bin/"${i##*/}"
|
||||
done' _ {} \;
|
||||
|
||||
# Install audiogame-manager
|
||||
if [[ -d ~/audiogame-manager ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user