Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ Script to make it easier to update Proton GE to the latest version.
Two simple scripts to help you to install the latest version of GloriousEggroll's custom Proton, which can be found [here](https://github.com/GloriousEggroll/proton-ge-custom)


[Original script by /u/ChockFullOfShit](https://www.reddit.com/r/SteamPlay/comments/e2ms5v/custom_proton_glorious_eggroll_proton420ge1/f8y2ioe/), I (/u/flubberding) expanded a bit on it.
[Original script by /u/ChockFullOfShit](https://www.reddit.com/r/SteamPlay/comments/e2ms5v/custom_proton_glorious_eggroll_proton420ge1/f8y2ioe/), further maintained and developed by [/u/flubberding](https://github.com/flubberding) who expanded a bit on it. I now continue on my own repo, because the script was sitting defunctional since many months.

Disclaimer: Subversions like the MCC versions of Proton 4.21-GE-1, will install as it's main version and not install separately.
Old Disclaimer: Subversions like the MCC versions of Proton 4.21-GE-1, will install as it's main version and not install separately.
For now, this may result in false "not installed"-detections or errors while force installing a specific subversion.

There are two scripts:
Expand Down
6 changes: 3 additions & 3 deletions cproton.sh
Original file line number Diff line number Diff line change
Expand Up @@ -100,16 +100,16 @@ if [ -z "$parameter" ]; then
version="$(curl -s $latesturi | grep -E -m1 "tag_name" | cut -d \" -f4)"
url=$(curl -s $latesturi | grep -E -m1 "browser_download_url.*.tar.gz" | cut -d \" -f4)
sha512url=$(curl -s $latesturi | grep -E -m1 "browser_download_url.*.sha512sum" | cut -d \" -f4)
if [ -d "$dstpath"/Proton-"$version" ]; then
if [ -d "$dstpath"/"$version" ]; then
echo "Proton $version is the latest version and is already installed."
else
echo "Proton $version is the latest version and is not installed yet."
fi
elif [ "$parameter" == "-l" ]; then
PrintReleases
else
url=$baseuri/"$parameter"/Proton-"$parameter".tar.gz
if [ -d "$dstpath"/Proton-"$parameter" ]; then
url=$baseuri/"$parameter"/"$parameter".tar.gz
if [ -d "$dstpath"/"$parameter" ]; then
echo "Proton $parameter is already installed."
else
echo "Proton $parameter is not installed yet."
Expand Down