Update winetricks to use FEXLoader if present.

This commit is contained in:
Storm Dragon 2024-12-16 18:49:18 -05:00
parent 75535a27b1
commit 8aee611f86

View File

@ -646,7 +646,11 @@ winetricks() {
fi
fi
# Run the requested winetricks parameters
${winetricksPath}/winetricks "$@"
if command -v FEXLoader &> /dev/null ; then
FEXLoader -- ${winetricksPath}/winetricks "$@"
else
${winetricksPath}/winetricks "$@"
fi
}
install_rhvoice() {