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:
parent
ad940b7424
commit
f7212849cb
@ -11,7 +11,7 @@ yay -Syu --noconfirm
|
|||||||
install_package cabextract box86 dos2unix p7zip unzip xdotool
|
install_package cabextract box86 dos2unix p7zip unzip xdotool
|
||||||
# Download and install wine
|
# Download and install wine
|
||||||
wineFile="$(mktemp)"
|
wineFile="$(mktemp)"
|
||||||
wget -O "$wineFile" "$wineURL"
|
curl --output "$wineFile" "$wineURL"
|
||||||
# Create wine directory
|
# Create wine directory
|
||||||
sudo mkdir -p /opt/wine
|
sudo mkdir -p /opt/wine
|
||||||
pushd /opt/wine
|
pushd /opt/wine
|
||||||
@ -28,6 +28,17 @@ for i in wineboot winecfg winepath wineserver ; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# Install audiogame-manager
|
# 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
|
sudo chmod 755 /usr/local/bin/audiogame-manager
|
||||||
restart
|
restart
|
||||||
|
Loading…
Reference in New Issue
Block a user