summaryrefslogtreecommitdiff
blob: 413852460d548f41973a8b0c916450d344e2ed81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Dirty workaround to try syswow64 if paths are the same. This can happen
with USE=wow64 on wine where wine64 is a symlink to wine.

TODO: dxvk's and vkd3d-proton's setup script should be rewritten and packaged
separately (shared) as upstream hardly support these (dxvk dropped altogether).
--- a/setup_vkd3d_proton.sh
+++ b/setup_vkd3d_proton.sh
@@ -81,2 +81,6 @@
   win32_sys_path="${win32_sys_path/$'\r'/}"
+  if [ "$win32_sys_path" = "$win64_sys_path" ]; then
+    win32_sys_path=$($wine winepath -u 'C:\windows\syswow64' 2> /dev/null)
+    win32_sys_path="${win32_sys_path/$'\r'/}"
+  fi
 fi