Skip to content

Commit

Permalink
Fix #2143. Make sure the paths to the wineserver and wine binaries ar…
Browse files Browse the repository at this point in the history
…e used with winetricks_get_file_arch
  • Loading branch information
randallpittman authored and austin987 committed Dec 14, 2023
1 parent 07c6d38 commit 8e2cc52
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/winetricks
Original file line number Diff line number Diff line change
Expand Up @@ -5053,8 +5053,10 @@ winetricks_set_wineprefix()
if test -d "${W_DRIVE_C}/windows/syswow64"; then
# Check the bitness of wineserver + wine binary, used later to determine if we're on a WOW setup (no wine64)
# https://github.com/Winetricks/winetricks/issues/2030
_W_wineserver_binary_arch="$(winetricks_get_file_arch "${WINESERVER}")"
_W_wine_binary_arch="$(winetricks_get_file_arch "${WINE}")"
WINESERVER_BIN="$(which ${WINESERVER})"
_W_wineserver_binary_arch="$(winetricks_get_file_arch "${WINESERVER_BIN}")"
WINE_BIN="$(which ${WINE})"
_W_wine_binary_arch="$(winetricks_get_file_arch "${WINE_BIN}")"

# determine wow64 type (new/old)
# FIXME: check what upstream is calling them
Expand Down

0 comments on commit 8e2cc52

Please sign in to comment.