mirror of
https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck.git
synced 2024-12-21 23:31:52 +01:00
Add files via upload
This commit is contained in:
parent
7667d408ad
commit
bbfa97b25e
@ -1214,21 +1214,26 @@ proton_dir=$(find "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth
|
|||||||
|
|
||||||
# Check if GE-Proton is installed
|
# Check if GE-Proton is installed
|
||||||
if [ -z "$proton_dir" ]; then
|
if [ -z "$proton_dir" ]; then
|
||||||
# Download specific version of GE-Proton
|
# Download GE-Proton using the GitHub API
|
||||||
echo "Downloading GE-Proton8-28"
|
echo "Downloading GE-Proton using the GitHub API"
|
||||||
cd "${logged_in_home}/Downloads/NonSteamLaunchersInstallation"
|
cd "${logged_in_home}/Downloads/NonSteamLaunchersInstallation"
|
||||||
curl -sLOJ "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-28/GE-Proton8-28.tar.gz"
|
curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep browser_download_url | cut -d\" -f4 | grep .tar.gz)"
|
||||||
|
curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep browser_download_url | cut -d\" -f4 | grep .sha512sum)"
|
||||||
|
sha512sum -c ./*.sha512sum
|
||||||
tar -xf GE-Proton*.tar.gz -C "${logged_in_home}/.steam/root/compatibilitytools.d/"
|
tar -xf GE-Proton*.tar.gz -C "${logged_in_home}/.steam/root/compatibilitytools.d/"
|
||||||
proton_dir=$(find "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1)
|
proton_dir=$(find "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1)
|
||||||
echo "All done :)"
|
echo "All done :)"
|
||||||
else
|
else
|
||||||
# Check if installed version is the specific version
|
# Check if installed version is the latest version
|
||||||
installed_version=$(basename $proton_dir | sed 's/GE-Proton-//')
|
installed_version=$(basename $proton_dir | sed 's/GE-Proton-//')
|
||||||
if [ "$installed_version" != "8-28" ]; then
|
latest_version=$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep tag_name | cut -d '"' -f 4)
|
||||||
# Download specific version of GE-Proton
|
if [ "$installed_version" != "$latest_version" ]; then
|
||||||
echo "Downloading GE-Proton8-28"
|
# Download GE-Proton using the GitHub API
|
||||||
|
echo "Downloading GE-Proton using the GitHub API"
|
||||||
cd "${logged_in_home}/Downloads/NonSteamLaunchersInstallation"
|
cd "${logged_in_home}/Downloads/NonSteamLaunchersInstallation"
|
||||||
curl -sLOJ "https://github.com/GloriousEggroll/proton-ge-custom/releases/download/GE-Proton8-28/GE-Proton8-28.tar.gz"
|
curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep browser_download_url | cut -d\" -f4 | grep .tar.gz)"
|
||||||
|
curl -sLOJ "$(curl -s https://api.github.com/repos/GloriousEggroll/proton-ge-custom/releases/latest | grep browser_download_url | cut -d\" -f4 | grep .sha512sum)"
|
||||||
|
sha512sum -c ./*.sha512sum
|
||||||
tar -xf GE-Proton*.tar.gz -C "${logged_in_home}/.steam/root/compatibilitytools.d/"
|
tar -xf GE-Proton*.tar.gz -C "${logged_in_home}/.steam/root/compatibilitytools.d/"
|
||||||
proton_dir=$(find "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1)
|
proton_dir=$(find "${logged_in_home}/.steam/root/compatibilitytools.d" -maxdepth 1 -type d -name "GE-Proton*" | sort -V | tail -n1)
|
||||||
echo "All done :)"
|
echo "All done :)"
|
||||||
@ -1244,6 +1249,7 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
echo "10"
|
echo "10"
|
||||||
echo "# Setting files in their place"
|
echo "# Setting files in their place"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user