You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not aware of a native way of removing all versions of proton GE, except the latest one and as a result I made a bash script that solves this issue.
#!/bin/bash# Download the latest proton ge version
yes | protonup
# List all proton ge versions (protonup -l), find the latest version (grep -v), remove it from the list and remove any part not associated with the version tag (grep -o)
binaries=$(protonup -l | grep -v "$(protonup --releases | tail -n 1)"| grep -o '^\S*')if [ -z"$binaries" ]
thenecho"No proton GE versions to remove..."elsewhile IFS= read -r line ;do# Remove "Proton-" from older versions of proton ge, because the uninstaller fails to match the folders
line="${line//Proton-/}"# Remove all proton ge versions, except the latest one
yes | protonup -r "$line"&&printf"\n"done<<<"$binaries"fi
The text was updated successfully, but these errors were encountered:
IceDBorn
changed the title
[Script] Remove all Proton GE versions installed, except the latest one
[SCRIPT] Remove all Proton GE versions installed, except the latest one
May 26, 2022
I'm not aware of a native way of removing all versions of proton GE, except the latest one and as a result I made a bash script that solves this issue.
The text was updated successfully, but these errors were encountered: