Updated scripts

This commit is contained in:
2025-07-21 15:39:45 +02:00
parent 2a22f5b068
commit 919b4f6d62
2 changed files with 23 additions and 2 deletions

View File

@@ -351,9 +351,30 @@ if [ "${ROLES[GAME]}" == "yes" ]; then
sudo pacman -S --noconfirm --needed winetricks onnxruntime mangohud lib32-mangohud gamemode
yay --noconfirm -S --needed --aur protonup-qt protontricks
yay --noconfirm -S --needed --aur lug-helper
yay --noconfirm -S --needed --aur opentrack-git
yay --noconfirm -S --needed --aur openmpi
if ! -d ~/Games/opentrack; then
mkdir -p ~/Games
cd ~/Games
git clone https://github.com/opentrack/opentrack
cd opentrack/
mkdir build
cd build
cmake ..
ccmake .
make
make install
echo "[Desktop Entry]
Version=3.1.0
Type=Application
Name=Opentrack
Exec=~/Games/opentrack/build/install/bin/opentrack -platform xcb
Icon=~/Games/opentrack/contrib/cute-octopus-vector-material_15-1831.jpg
Terminal=false
StartupNotify=true" | sudo tee /usr/share/applications/opentrack.desktop >/dev/null
sudo update-desktop-database /usr/share/applications
fi
if [ "$HOSTNAME" == "SIMONBOX" ]; then
printf -- '\033[33m Installing Simon specific game utilities\n\033[37m'
flatpak install -y flathub org.vinegarhq.Sober