diff --git a/steamtinkerlaunch b/steamtinkerlaunch index 1e14b5aa..4d04184f 100755 --- a/steamtinkerlaunch +++ b/steamtinkerlaunch @@ -2954,9 +2954,9 @@ function getAvailableProtonVersions { delEmptyFile "$PROTONCSV" # find new proton versions in CUSTPROTEXTDIR - if [ ! -f "$CUSTOMPROTONLIST" ] || [ "$(find "$CUSTPROTEXTDIR" -mindepth 1 -maxdepth 1 -type d | wc -l)" -gt "$(wc -l < "$CUSTOMPROTONLIST")" ]; then + if [ ! -f "$CUSTOMPROTONLIST" ] || [ "$(find -L "$CUSTPROTEXTDIR" -mindepth 1 -maxdepth 1 -type d | wc -l)" -gt "$(wc -l < "$CUSTOMPROTONLIST")" ]; then writelog "INFO" "${FUNCNAME[0]} - Updating protonlist '$CUSTOMPROTONLIST' with possible new proton versions from '$CUSTPROTEXTDIR'" - find "$CUSTPROTEXTDIR" -type f -name "proton" >> "$CUSTOMPROTONLIST" + find -L "$CUSTPROTEXTDIR" -type f -name "proton" >> "$CUSTOMPROTONLIST" fi if [ ! -f "$PROTONCSV" ] || { [ -n "$1" ] && [ "$1" = "up" ]; } || [ "$1" == "F" ]; then