Better approach at using correct wine for 32 bit games, assuming it works that is.
This commit is contained in:
@@ -48,25 +48,6 @@ check_wine32() {
|
||||
fi
|
||||
}
|
||||
|
||||
# Wine function overrides for automatic architecture detection
|
||||
wine() {
|
||||
if [[ "$WINEPREFIX" =~ wine32 ]] && [[ -n "$wine32" ]]; then
|
||||
"$wine32" "$@"
|
||||
else
|
||||
command wine "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
wineserver() {
|
||||
if [[ "$WINEPREFIX" =~ wine32 ]] && [[ -n "$wine32server" ]]; then
|
||||
"$wine32server" "$@"
|
||||
else
|
||||
command wineserver "$@"
|
||||
fi
|
||||
}
|
||||
|
||||
# Export functions so they're available in subshells and sourced scripts
|
||||
export -f wine wineserver
|
||||
|
||||
# Install games
|
||||
game_installer() {
|
||||
|
Reference in New Issue
Block a user