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
2 changes: 1 addition & 1 deletion cproton.sh
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ InstallationPrompt() {

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.*Proton" | cut -d \" -f4)
url=$(curl -s $latesturi | grep -E -m1 "browser_download_url.*Proton.*tar.gz" | cut -d \" -f4)
if [ -d "$dstpath"/Proton-"$version" ]; then
echo "Proton $version is the latest version and is already installed."
else
Expand Down
4 changes: 2 additions & 2 deletions updatePGEfast.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dstpath="$HOME/.steam/root/compatibilitytools.d"
else
echo "Proton $latestversion is the latest version and is not installed yet."
echo "Installing Proton $latestverion"
url=$(curl -s $latesturi | egrep -m1 "browser_download_url.*Proton" | cut -d \" -f4)
url=$(curl -s $latesturi | egrep -m1 "browser_download_url.*Proton.*tar.gz" | cut -d \" -f4)
fi

rsp="$(curl -sI "$url" | head -1)"
Expand All @@ -27,4 +27,4 @@ echo "$rsp" | grep -q 302 || {
echo [Info] Created "$dstpath"
}

curl -sL "$url" | tar xfzv - -C "$dstpath"
curl -sL "$url" | tar xfzv - -C "$dstpath"