Fixed icu*.dll path for GE Proton 10+

This commit is contained in:
Mikhail Tergoev 2025-05-24 13:46:57 +03:00
parent 3cde7716d6
commit 135fcbc306

View File

@ -3197,6 +3197,9 @@ start_portwine () {
if [[ -f "${WINEDIR}/lib/icu/${dll}.dll" ]] ; then
try_force_link_file "${WINEDIR}/lib/icu/${dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/${dll}.dll"
try_force_link_file "${WINEDIR}/lib64/icu/${dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/${dll}.dll"
elif [[ -f "${WINEDIR}/lib/wine/icu/i386-windows/${dll}.dll" ]] ; then
try_force_link_file "${WINEDIR}/lib/wine/icu/i386-windows/${dll}.dll" "${WINEPREFIX}/drive_c/windows/syswow64/${dll}.dll"
try_force_link_file "${WINEDIR}/lib/wine/icu/x86_64-windows/${dll}.dll" "${WINEPREFIX}/drive_c/windows/system32/${dll}.dll"
else
try_remove_file "${WINEPREFIX}/drive_c/windows/syswow64/${dll}.dll"
try_remove_file "${WINEPREFIX}/drive_c/windows/system32/${dll}.dll"