Started updates on the gaming setup script. There are some weird problems that I am trying to figure out, so I'm not sure it will work quite yet, but getting closer.

This commit is contained in:
stormdragon2976 2023-01-20 19:27:36 -05:00
parent ad940b7424
commit f7212849cb

View File

@ -11,7 +11,7 @@ yay -Syu --noconfirm
install_package cabextract box86 dos2unix p7zip unzip xdotool
# Download and install wine
wineFile="$(mktemp)"
wget -O "$wineFile" "$wineURL"
curl --output "$wineFile" "$wineURL"
# Create wine directory
sudo mkdir -p /opt/wine
pushd /opt/wine
@ -28,6 +28,17 @@ for i in wineboot winecfg winepath wineserver ; do
done
# Install audiogame-manager
sudo wget -O /usr/local/bin/audiogame-manager https://stormgames.wolfe.casa/downloads/audiogame-manager.arm
if [[ -d ~/audiogame-manager ]]; then
git -C ~/audiogame-manager pull
else
git clone https://git.stormux.org/storm/audiogame-manager ~/audiogame-manager
fi
cat << EOF | sudo tee /usr/local/bin/audiogame-manager &> /dev/null
#!/usr/bin/env bash
pushd ~/audiogame-manager
./audiogame-manager.sh $@
exit 0
EOF
sudo chmod 755 /usr/local/bin/audiogame-manager
restart