Browse Source

fix 32-bit DLL location for multiarch Wine

pull/77/head
S. Christian Collins GitHub 1 year ago
parent
commit
0930d9cfdd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      wineasio-register

+ 5
- 1
wineasio-register View File

@@ -34,7 +34,11 @@ u64=(
for u in ${u32[@]}; do
w=$(echo ${u} | sed -e 's|/i386-unix/wineasio32.dll.so|/i386-windows/wineasio32.dll|g')
if [ -e "${u}" ] && [ -e "${w}" ]; then
cp -v "${w}" "${WINEPREFIX}/drive_c/windows/system32"
if command -v wine64 > /dev/null && [ -d "${WINEPREFIX}/drive_c/windows/syswow64" ]; then
cp -v "${w}" "${WINEPREFIX}/drive_c/windows/syswow64"
else
cp -v "${w}" "${WINEPREFIX}/drive_c/windows/system32"
fi
regsvr32 "${u}"
break
fi


Loading…
Cancel
Save