diff --git a/audiogame-manager.sh b/audiogame-manager.sh index 90a3e61..fe077d8 100755 --- a/audiogame-manager.sh +++ b/audiogame-manager.sh @@ -566,7 +566,10 @@ install_wine() { fi # Figure out wineInstallationPath wineInstallationPath="${XDG_DATA_HOME:-$HOME/.local/share}/audiogame-manager/wine_$2/$1" - export wine="${wineInstallationPath}/bin/wine" + wine="${wineInstallationPath}/bin/wine" + if [[ "$(uname -m)" == "aarch64" ]]; then + wine="FEXLoader -- ${wine}" + fi # 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