From f81e23e0d47e94fcb775ce998dd466058727d9f5 Mon Sep 17 00:00:00 2001 From: Tk-Glitch Date: Mon, 29 May 2023 20:06:07 +0200 Subject: [PATCH] Proton: Don't apply processinfoclass fixup on branches not based on 6.0 or 7.0 --- proton-tkg/proton-tkg.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton-tkg/proton-tkg.sh b/proton-tkg/proton-tkg.sh index 2f5416727..d422b19e3 100755 --- a/proton-tkg/proton-tkg.sh +++ b/proton-tkg/proton-tkg.sh @@ -462,7 +462,7 @@ function build_steamhelper { fi fi - if [ "$_processinfoclass" = "true" ]; then + if [[ "$_proton_branch" = *6.* ]] || [[ "$_proton_branch" = *7.* ]] && [ "$_processinfoclass" = "true" ]; then ( cd Proton && patch -Np1 < "$_nowhere/proton_template/steamhelper_PROCESSINFOCLASS.patch" ) || exit 1 fi