Improvements to the part of gaming.sh that links the executables. Updated installed wine version to 7.11

This commit is contained in:
stormdragon2976 2023-01-25 11:06:28 -05:00
parent d34abd2f34
commit 9c26da7f0a

View File

@ -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-7.7-upstream-linux-x86.tar.gz"
wineURL="https://www.playonlinux.com/wine/binaries/phoenicis/upstream-linux-x86/PlayOnLinux-wine-7.11-upstream-linux-x86.tar.gz"
# Make sure system is up to date
yay -Syu --noconfirm
@ -22,7 +22,7 @@ popd
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
find /opt/wine/bin/ -type f -perm -u+x -exec bash -c '
find /opt/wine/bin/ -maxdepth 1 -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##*/}"