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
fi fi
# Run the requested winetricks parameters # Run the requested winetricks parameters
if command -v FEXLoader &> /dev/null ; then
FEXLoader -- ${winetricksPath}/winetricks "$@"
else
${winetricksPath}/winetricks "$@" ${winetricksPath}/winetricks "$@"
fi
} }
install_rhvoice() { install_rhvoice() {