1
0
Fork 0
forked from RP1/RaveOS-arch

steam fix from Lordify

This commit is contained in:
RP1 2024-12-25 19:28:02 +01:00
parent 91a64f6eb4
commit 9e0b9f65e0
2 changed files with 10 additions and 1 deletions

View file

@ -13,6 +13,10 @@ sudo chown -R $USER:$GROUP /home/$USER/
cp -a rp-programscript.desktop /home/$USER/.local/share/applications/
echo "Exec=/home/$USER/.progs/3progs.sh" >> /home/$USER/.local/share/applications/rp-programscript.desktop
# Steam GPU Grep from Lordify
nVidia=$(lspci -P | grep "NVIDIA" -c)
# Zenity ablak megjelenítése
user_choice=$(zenity --list --checklist --width='1000' --height='1000' \
--title="APP Telepítő Script base by Airman & RAVE (Magyarosította balage79)" \
@ -102,7 +106,11 @@ if [[ $user_choice = *"Steam Launcher"* ]]; then
echo ---------------------------------------------
echo Installing ${bold}${yellow}Steam Launcher${normal}
sudo pacman -S steam --noconfirm
if [[ $nVidia -gt 0 ]]; then
sudo pacman -S steam nvidia-utils lib32-nvidia-utils --noconfirm
else
sudo pacman -S steam amdvlk lib32-amdvlk --noconfirm
fi
sudo chmod +x update-proton-ge
./update-proton-ge

View file

@ -10,6 +10,7 @@ bold=$(tput bold) # ${bold}
normal=$(tput sgr0) # ${normal}
yellow=$(tput setaf 3) # ${yellow}
# Deleting password for the script to run uninterrapted
echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99-$USER