Better approach at using correct wine for 32 bit games, assuming it works that is.

This commit is contained in:
Storm Dragon
2025-08-07 02:52:32 -04:00
parent 81d00ef4f2
commit e5c6798c80
2 changed files with 8 additions and 19 deletions

View File

@@ -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() {