From d378132085dc866c13d0802b271a9776a0dccced Mon Sep 17 00:00:00 2001 From: Miepee Date: Thu, 29 Sep 2022 21:39:37 +0200 Subject: [PATCH] change way of executing unwrapped runner. --- patcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patcher.sh b/patcher.sh index 2889839..a078377 100755 --- a/patcher.sh +++ b/patcher.sh @@ -130,7 +130,7 @@ patch_am2r () #!/usr/bin/env bash # This environment variable fixes Mesa support. If another driver is used this should not do anything. # See https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4181 for more information. -radeonsi_sync_compile="true" exec "$(dirname "${BASH_SOURCE[0]}")/.runner-unwrapped" "$@" +radeonsi_sync_compile="true" exec "$(dirname "$(readlink "$0")")/.runner-unwrapped" "$@" ' > "$GAMEDIR/runner" chmod +x "$GAMEDIR/runner" "$GAMEDIR/.runner-unwrapped"