diff --git a/setup_dxvk.sh b/setup_dxvk.sh index 0c161447a..a9105f75e 100755 --- a/setup_dxvk.sh +++ b/setup_dxvk.sh @@ -80,8 +80,10 @@ fi $wineboot -u win64_sys_path=$($wine64 winepath -u 'C:\windows\system32' 2> /dev/null) +win64_sys_path="${win64_sys_path/$'\r'/}" if $wow64; then win32_sys_path=$($wine winepath -u 'C:\windows\system32' 2> /dev/null) + win32_sys_path="${win32_sys_path/$'\r'/}" fi if [ -z "$win32_sys_path" ] && [ -z "$win64_sys_path" ]; then