Skip to content

Commit

Permalink
winetricks_set_wineprefix: warn once if wow64 unknown
Browse files Browse the repository at this point in the history
  • Loading branch information
jre-wine authored and austin987 committed May 9, 2024
1 parent 6f91bce commit 14156c0
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -5133,7 +5133,9 @@ 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"
elif [ "${_W_wineserver_binary_arch}" = "${_W_wine_binary_arch}" ]; then
_W_wow64_style="new"
else
_W_wow64_style="classic"
Expand Down Expand Up @@ -5232,6 +5234,8 @@ winetricks_set_wineprefix()

if [ "${_W_wow64_style}" = "new" ]; then
w_warn "You apppear to be using Wine's new wow64 mode. Note that this is EXPERIMENTAL and not yet fully supported. If reporting an issue, be sure to mention this."
elif [ "${_W_wow64_style}" = "unknown" ]; then
w_warn "WoW64 type could not be detected."
fi
fi

Expand Down

0 comments on commit 14156c0

Please sign in to comment.