From 5bccfdd70b9bc6fdb77176c917fd307651085020 Mon Sep 17 00:00:00 2001 From: Al En Date: Sat, 21 Nov 2020 10:10:03 +0100 Subject: [PATCH] fix ValveSoftware/Proton/#4269 symlinks copied to pfx directory were using wrong relative paths ./pfx/drive_c/windows/syswow64/kernel32.dll -> dist/lib/wine/fakedlls/kernel32.dll fixed to use absolute path --- proton | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proton b/proton index ea6e9afc0..f2e97e490 100755 --- a/proton +++ b/proton @@ -294,7 +294,7 @@ class CompatData: if os.path.dirname(contents).endswith(('/lib/wine', '/lib/wine/fakedlls', '/lib64/wine', '/lib64/wine/fakedlls')): # wine builtin dll # make the destination an absolute symlink - contents = os.path.normpath(os.path.join(os.path.dirname(src), contents)) + contents = os.path.abspath(os.path.join(os.path.dirname(src), contents)) if dll_copy: try_copyfile(src, dst) else: