Ajouter setup_proton_ge_steam
This commit is contained in:
parent
de1072cefa
commit
5b121725c0
1 changed files with 50 additions and 0 deletions
50
setup_proton_ge_steam
Normal file
50
setup_proton_ge_steam
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
# Flatpak Installation
|
||||||
|
sudo dnf in flatpak -y
|
||||||
|
|
||||||
|
## XRDP on Budgie (for RDS usage, disabled on this version)
|
||||||
|
# echo "allowed_users = anybody" | sudo tee -a /etc/X11/Xwrapper.config
|
||||||
|
# echo "exec budgie-desktop" > ~/.Xclients
|
||||||
|
# chmod a+x ~/.Xclients
|
||||||
|
|
||||||
|
# Flatpak source change
|
||||||
|
sudo flatpak remote-delete fedora
|
||||||
|
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|
||||||
|
# Flatpak update locals
|
||||||
|
sudo flatpak update -y
|
||||||
|
|
||||||
|
# ProtonGE (ProtonPlus) Setup and Steam Client
|
||||||
|
sudo flatpak install -y com.vysp3r.ProtonPlus
|
||||||
|
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
echo "🚀 Installation de Steam, ProtonTricks et Proton GE sur Fedora 42"
|
||||||
|
|
||||||
|
# Activation du dépôt RPM Fusion
|
||||||
|
sudo dnf install -y \
|
||||||
|
https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm \
|
||||||
|
https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
|
||||||
|
|
||||||
|
# Mise à jour des paquets
|
||||||
|
sudo dnf update -y
|
||||||
|
|
||||||
|
# Installation de Steam
|
||||||
|
sudo dnf install -y steam
|
||||||
|
|
||||||
|
# Installation de Protontricks et dépendances
|
||||||
|
sudo dnf install -y protontricks zenity cabextract python3-pip
|
||||||
|
|
||||||
|
# Téléchargement et installation de Proton GE dans le dossier Steam
|
||||||
|
PROTON_DIR="$HOME/.steam/root/compatibilitytools.d"
|
||||||
|
mkdir -p "$PROTON_DIR"
|
||||||
|
cd "$PROTON_DIR"
|
||||||
|
GE_RELEASE=$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep "browser_download_url" | grep ".tar.gz" | cut -d '"' -f 4)
|
||||||
|
|
||||||
|
echo "📦 Téléchargement de Proton GE..."
|
||||||
|
curl -L "$GE_RELEASE" -o proton-ge.tar.gz
|
||||||
|
tar -xf proton-ge.tar.gz
|
||||||
|
rm proton-ge.tar.gz
|
||||||
|
|
||||||
|
echo "✅ Installation terminée ! Lance Steam, va dans Paramètres > Steam Play, et sélectionne Proton GE dans la liste."
|
Loading…
Add table
Reference in a new issue