Skip to content

Commit

Permalink
winetricks_set_wineprefix: warn and continue if wow64 couldn't be det…
Browse files Browse the repository at this point in the history
…ected
  • Loading branch information
jre-wine committed Feb 28, 2024
1 parent 9e3586a commit afe3fcf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -5113,7 +5113,10 @@ winetricks_set_wineprefix()

# determine wow64 type (new/old)
# FIXME: check what upstream is calling them
if [ "${_W_wineserver_binary_arch}" = "${_W_wine_binary_arch}" ]; then
if [ -z "${_W_wineserver_binary_arch}" ] || [ -z "${_W_wine_binary_arch}" ]; then
_W_wow64_style="unknown"
w_warn "WoW64 type could not be detected, continuing anyway."
elif [ "${_W_wineserver_binary_arch}" = "${_W_wine_binary_arch}" ]; then
_W_wow64_style="new"
else
_W_wow64_style="classic"
Expand Down

0 comments on commit afe3fcf

Please sign in to comment.