Created
November 17, 2023 14:34
-
-
Save mmtrt/0f6fb55c5ca0e71dbe6913e9bac770cf to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/AppDir/bin/winetricks b/AppDir/bin/winetricks | |
index 7bff730b8..b0fd6734d 100755 | |
--- a/AppDir/bin/winetricks | |
+++ b/AppDir/bin/winetricks | |
@@ -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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment