Because of the major reworking of how audiogame-manager works, had to almost completely rewrite the -r (remove game) function. Will be testing it quite a bit to make sure nothing is critically broken.
This commit is contained in:
@@ -73,14 +73,22 @@ install_rhvoice() {
|
||||
}
|
||||
|
||||
install_wine_bottle() {
|
||||
# Simple rule: wine64 for everything, let WOW64 handle 32-bit speech APIs
|
||||
local architecture=64
|
||||
export WINEARCH="win64"
|
||||
# Respect explicit WINEARCH settings, otherwise default to wine64
|
||||
if [[ -z "$WINEARCH" ]]; then
|
||||
# Default behavior: wine32 only for legacy speechsdk, wine64 for everything else
|
||||
if [[ "$*" =~ speechsdk ]]; then
|
||||
export WINEARCH="win32"
|
||||
else
|
||||
export WINEARCH="win64"
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ "$*" =~ speechsdk || "$*" =~ sapi ]]; then
|
||||
echo "Using wine64 with WOW64 for speech API compatibility"
|
||||
# Set architecture for WINEPREFIX path
|
||||
local architecture
|
||||
if [[ "$WINEARCH" == "win32" ]]; then
|
||||
architecture=32
|
||||
else
|
||||
echo "Using wine64 for optimal performance"
|
||||
architecture=64
|
||||
fi
|
||||
|
||||
export WINEPREFIX="$HOME/.local/wine${architecture}"
|
||||
|
Reference in New Issue
Block a user