steam fix from Lordify
This commit is contained in:
parent
91a64f6eb4
commit
9e0b9f65e0
2 changed files with 10 additions and 1 deletions
10
3progs.sh
10
3progs.sh
|
@ -13,6 +13,10 @@ sudo chown -R $USER:$GROUP /home/$USER/
|
||||||
cp -a rp-programscript.desktop /home/$USER/.local/share/applications/
|
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
|
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
|
# Zenity ablak megjelenítése
|
||||||
user_choice=$(zenity --list --checklist --width='1000' --height='1000' \
|
user_choice=$(zenity --list --checklist --width='1000' --height='1000' \
|
||||||
--title="APP Telepítő Script base by Airman & RAVE (Magyarosította balage79)" \
|
--title="APP Telepítő Script base by Airman & RAVE (Magyarosította balage79)" \
|
||||||
|
@ -102,7 +106,11 @@ if [[ $user_choice = *"Steam Launcher"* ]]; then
|
||||||
echo ---------------------------------------------
|
echo ---------------------------------------------
|
||||||
echo Installing ${bold}${yellow}Steam Launcher${normal}
|
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
|
sudo chmod +x update-proton-ge
|
||||||
./update-proton-ge
|
./update-proton-ge
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ bold=$(tput bold) # ${bold}
|
||||||
normal=$(tput sgr0) # ${normal}
|
normal=$(tput sgr0) # ${normal}
|
||||||
yellow=$(tput setaf 3) # ${yellow}
|
yellow=$(tput setaf 3) # ${yellow}
|
||||||
|
|
||||||
|
|
||||||
# Deleting password for the script to run uninterrapted
|
# Deleting password for the script to run uninterrapted
|
||||||
|
|
||||||
echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99-$USER
|
echo "$USER ALL=(ALL) NOPASSWD: ALL" | sudo tee /etc/sudoers.d/99-$USER
|
||||||
|
|
Loading…
Reference in a new issue