diff --git a/audiogame-manager.sh b/audiogame-manager.sh index bfd17e0..a54c357 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -566,11 +566,7 @@ install_wine() { fi # Figure out wineInstallationPath wineInstallationPath="${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/wine_$2/$1" - wine="${wineInstallationPath}/bin/wine" - if [[ "$(uname -m)" == "aarch64" ]]; then - wine="FEXLoader -- /usr/bin/wine" - fi - export wine + export wine="${wineInstallationPath}/bin/wine" # If the path exists, wine should already be installed. # Just make sure we didn't wind up with a empty directory for some reason rmdir "${wineInstallationPath}" 2> /dev/null @@ -1345,6 +1341,7 @@ gameList=( # Make sure the minimum of curl, sox, wine, and winetricks are installed or fex-emu on aarch64 if [[ "$(uname -m)" == "aarch64" ]]; then minimumDependencies=("FEXLoader") + wine="FEXLoader -- /usr/bin/wine" else minimumDependencies=("curl" "sox" "wine") fi