Update setup-linux.sh

This commit is contained in:
2024-05-28 14:25:26 +00:00
parent 6d815f91ca
commit 8c454d6076

View File

@@ -256,21 +256,20 @@ function installGamingPackages() {
if (whiptail --title "Gaming" --yesno "Should we install game launchers and game optimization packages?" 8 78); then
echo "Installing gaming packages..."
if [[ $DISTRO =~ (debian|ubuntu) ]]; then
sudo apt install steam gamescope gamemode mangohud lutris discord -y
sudo apt install steam gamescope gamemode mangohud lutris goverlay -y
elif [[ $DISTRO == "fedora" ]]; then
sudo flatpak install flathub net.davidotek.pupgui2 -y --noninteractive --system
sudo dnf in steam gamescope gamemode mangohud lutris heroic-games-launcher-bin goverlay -y
if grep -q "Rawhide" /etc/fedora-release; then
sudo dnf in steam gamescope gamemode mangohud lutris discord heroic-games-launcher-bin -y
installAAGL-on-fedora
else
sudo dnf in steam gamescope gamemode mangohud lutris discord heroic-games-launcher-bin -y
sudo flatpak install launcher.moe moe.launcher.an-anime-game-launcher -y --noninteractive --system
sudo flatpak install launcher.moe moe.launcher.honkers-launcher -y --noninteractive --system
sudo flatpak install launcher.moe moe.launcher.the-honkers-railway-launcher -y --noninteractive --system
fi
elif [[ $DISTRO == "arch" ]]; then
sudo pacman -S --needed steam gamescope gamemode lib32-gamemode mangohud vkd3d lib32-vkd3d python-protobuf wine xorg-xgamma lutris discord protonup-qt heroic-games-launcher-bin an-anime-game-launcher-bin --noconfirm
yay -S --needed honkers-launcher-bin the-honkers-railway-launcher-bin --noconfirm
sudo pacman -S --needed steam gamescope gamemode lib32-gamemode mangohud vkd3d lib32-vkd3d python-protobuf wine xorg-xgamma lutris goverlay protonup-qt heroic-games-launcher-bin --noconfirm
yay -S --needed honkers-launcher-bin an-anime-game-launcher-bin the-honkers-railway-launcher-bin --noconfirm
fi
fi
}